
Flutter Casual Games Toolkit
https://github.com/flutter/games- Category
- Developer Tools
- Rank
- No. 366Tools index
- Pricing
- Open Source
- Type
- TOOL
- Builder
- flutter
- GitHub
- 809 stars
- Date
About
Flutter's official casual games toolkit and templates. Production-ready starting points for shipping a mobile game in Dart.
What it does
A collection of complete starter projects and focused examples for Flutter game development. Choose a structure suited to a simple casual game, drag-and-drop board game, or two-dimensional platformer. Separate samples demonstrate concerns beyond basic structure, including advertising and multiplayer. You can fetch a project through an interactive command-line downloader or copy one manually.
Why it's ranked here
The toolkit offers unusually concrete teaching material: runnable projects, distinct game shapes, and samples for harder integrations. Its quality controls are also explicit. Listed projects undergo dependency resolution, static analysis, formatting checks, and tests in continuous integration. The narrow catalog is intentional, however, so treat it as a dependable starting set rather than a complete Flutter game curriculum.
What's good
Templates separate foundational structure from advanced examples, which keeps first experiments focused. The selection spans basic games, card-style interactions, and endless runners, while samples cover advertising, crosswords, and multiplayer. Repository conventions require clean static analysis, standard formatting, at least one working test per app, dependency maintenance, and continuous integration across Flutter release channels.
Tradeoffs
You must install the Flutter SDK before using anything. The collection contains only a small number of templates, and its contribution guide explicitly rejects being the definitive source for Flutter game samples or best practices. The recommended downloader is a separately installed command-line package. Projects may still require renaming, adaptation, and substantial original game work.
How to use it well
Use it when you know Flutter and want a working project shape before building game-specific rules, art, and content. Start with the nearest template, then consult targeted samples when adding advertising or multiplayer. It also suits engineers studying how Flutter projects are organized and checked. It does not replace a comprehensive game-development course or community-wide sample index.
Technical notes+
README.md divides the monorepo into templates/basic, templates/card, templates/endless_runner, samples/ads, samples/crossword, and samples/multiplayer. It recommends installing the sample_downloader package globally with Dart, while cloning or downloading a ZIP remains supported. flutter_ci_script_beta.sh enumerates all six projects. flutter_ci_script_shared.sh runs flutter pub get, dart analyze --fatal-infos, a format check over tracked Dart files, and Flutter or Dart tests when a test directory exists. Native entry points are visible in templates/basic/linux/runner/main.cc, templates/card/windows/runner/main.cpp, templates/endless_runner/windows/runner/main.cpp, samples/crossword/linux/runner/main.cc, and samples/multiplayer/linux/runner/main.cc.
Observed
- License
- Source headers specify a BSD-style license; the license text also contains bundled third-party font and Apache notices.
- Primary language
- Dart, with Flutter projects and native C++ runner scaffolding.
- Packaging
- A monorepo containing three templates and samples for ads, crossword, and multiplayer.
- Install surface
- Interactive sample downloader CLI, Git clone, or ZIP download.
- Platform support
- The supplied project text includes Linux and Windows desktop runners.
- Quality checks
- CI resolves packages, runs static analysis, checks Dart formatting, and executes available Flutter or Dart tests.
Read from README.md, templates/card/linux/runner/main.cc, templates/basic/linux/runner/main.cc, samples/crossword/linux/runner/main.cc, templates/card/windows/runner/main.cpp, templates/basic/windows/runner/main.cpp, samples/multiplayer/linux/runner/main.cc, samples/crossword/windows/runner/main.cpp, templates/endless_runner/linux/runner/main.cc, templates/endless_runner/windows/runner/main.cpp, AUTHORS, LICENSE, CONTRIBUTING.md, flutter_ci_script_beta.sh, flutter_ci_script_shared.sh.
What it can do
Generate Flutter game project templates
Game type selection and configuration parameters → Complete Flutter game project structure with source code
Create production-ready mobile game scaffolding
Game requirements and platform specifications → Deployable mobile game framework with core systems
Implement game state management
Game flow requirements and screen definitions → Functional game state system with navigation
Generate audio integration code
Sound effect and music file specifications → Audio management system with playback controls
Create game settings and preferences system
Configuration options and user preference types → Settings management code with persistent storage
Build cross-platform game deployment package
Flutter game project and target platform specifications → Platform-specific game build files ready for distribution
Tags
Tech Stack
Comments (0)
No comments yet
Editorially curated, with community endorsements as a secondary signal. Corrections welcome.