Welcome to Game Framework
Game Framework is a unified framework for embedding game engines into Flutter applications. Seamlessly integrate Unity and Unreal Engine games with bidirectional communication, lifecycle management, and multi-platform support.
Perfect for developers who want to combine Flutter's UI with powerful 3D game engines!
Why Game Framework?
Multi-Engine Support
One Framework, Multiple Engines - Support for Unity and Unreal Engine with a unified API
Bidirectional Communication
Flutter ↔ Engine messaging with type safety and high-performance binary protocols
CLI Tools
Powerful command-line tools for automating exports, builds, and publishing workflows
Data Streaming
Real-time asset streaming and dynamic content loading for optimized app sizes
Key Features
Unified API
Single, consistent API for all game engines. Write once, work with Unity or Unreal Engine without engine-specific code.
Lifecycle Management
Automatic pause/resume/destroy handling with full control over engine lifecycle from Flutter.
Multi-Platform Support
Deploy to Android, iOS, macOS, Windows, and Linux with platform-optimized integrations.
Production Ready
Comprehensive testing, documentation, and real-world usage in production applications.
Automated Tooling
CLI tools for exporting games, syncing files, building apps, and publishing packages to the cloud.
Cloud Publishing
Publish your game packages to Game Framework Cloud with workspace management and version control.
Who Is This For?
Game Developers
Add Flutter UI to your Unity or Unreal games for native mobile interfaces and cross-platform support
Mobile App Developers
Embed 3D games and interactive experiences into your Flutter applications
AR/VR Developers
Build augmented reality experiences combining Flutter UI with game engine AR capabilities
Enterprise Teams
Teams needing to integrate game content into business applications with proper tooling
Quick Links
Quick Start
Create your first Flutter app with Unity in under 10 minutes
CLI Installation
Install the game-cli tool for automated workflows
SDK Documentation
Explore the gameframework SDK API and integration guides
Unity Integration
Complete guide to integrating Unity games into Flutter
How It Works
Game Framework consists of three main components:
- gameframework SDK - Core Flutter package with unified engine API
- Engine Plugins - Unity and Unreal Engine specific integrations
- game-cli - Command-line tool for exports, builds, and publishing
import 'package:flutter/material.dart';
import 'package:gameframework/gameframework.dart';
class GameScreen extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Scaffold(
body: GameWidget(
engineType: GameEngineType.unity,
config: GameEngineConfig(
runImmediately: true,
),
onEngineCreated: (controller) {
// Send messages to your game
controller.sendMessage('GameManager', 'Start', 'level1');
},
onMessage: (message) {
// Receive messages from your game
print('Message from engine: ${message.data}');
},
),
);
}
}Trusted By Developers
Game Framework is built with production-grade infrastructure:
- Battle-Tested - Used in real-world production applications
- Open Source - MIT licensed with active development
- Well Documented - Comprehensive guides and API reference
- Multi-Platform - Support for all major platforms
- Active Community - Growing community of game and Flutter developers
Get Started
Ready to integrate game engines into your Flutter app? Get started in minutes:
- Install the SDK - Add gameframework to your Flutter project
- Install CLI tools - Set up the game-cli for automation
- Follow the Quick Start - Build your first integrated app
- Explore Examples - Learn from working code samples
New to game engines? Check out our Unity Setup Guide to get started with Unity integration.