Game Framework

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?

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

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:

  1. Install the SDK - Add gameframework to your Flutter project
  2. Install CLI tools - Set up the game-cli for automation
  3. Follow the Quick Start - Build your first integrated app
  4. Explore Examples - Learn from working code samples

New to game engines? Check out our Unity Setup Guide to get started with Unity integration.