XRAPH/Work/Flutter × engines
C# · since 2026

GameFramework

The rewrite of Flutter Unity Widget, as a Dart workspace with one API and a plugin per engine. Unity works today; Unreal is in progress. Typed messaging in both directions, automatic pause, resume and destroy on Flutter lifecycle events, and builds for Android, iOS, macOS, Windows and Linux.

Language
C#
Category
Flutter × engines
Since
2026
Stars
16
Repository
01

Anatomy

4 modules
01

Engine plugin

The engine is a plugin, not a hard dependency.

02

Messaging

Typed both ways instead of stringly.

03

Core lifecycle

Lives in the core rather than being rediscovered per integrator.

04

Targets

Android, iOS, macOS, Windows and Linux.

02

Why it exists

Design notes

#What it is

GameFramework embeds game engines in Flutter applications with one API. Unity works today; Unreal is in progress. It is the rewrite of Flutter Unity Widget, with six years of accreted compatibility dropped and three things changed on purpose.

#What changed from the original

  1. The engine is a plugin, not a dependency. gameframework is the core with the unified API; gameframework_unity and gameframework_unreal are separate packages. Adding an engine is a package rather than a fork.
  2. Messaging is typed. The original passed strings both directions and every integration invented its own encoding. Type safety at the boundary removed an entire category of issue report.
  3. Lifecycle lives in the core. Pause, resume and destroy on Flutter lifecycle events are handled once, rather than being something each integrator rediscovers when their app is backgrounded during a level load.

#Structure

A Dart workspace monorepo: the core package with Dart API plus Android and iOS platform code, an engines directory holding the Unity Dart plugin and its C# scripts alongside the Unreal Dart plugin and its C++ plugin, and a runnable example app. Platform support covers Android, iOS, macOS, Windows and Linux.

#Game CLI

Reading six years of the original's issue tracker, roughly 60% of reports were export and build configuration. The fix for that is not better documentation of a twenty-step process. Game CLI scaffolds, exports, syncs, builds and publishes in one command.

03

Signals

GitHub
Stars
16
Language
C#
Since
2026
Adopters
00

Shipping something on GameFramework? Nobody is listed here yet. Tell me what you built and you will be the first.

Get listed