Flutter 3.41 is live! Check out theFlutter 3.41 blog post!
Casual Games Toolkit
Learn about free & open source multiplatform 2D game development in Flutter.
The Flutter Casual Games Toolkit pulls together new and existing resources so you can accelerate development of games on mobile platforms.
This page outlines where you can find these available resources.
Why Flutter for games?
#The Flutter framework can create performant apps for six target platforms from the desktop to mobile devices to the web.
With Flutter's benefits of cross-platform development, performance, and open source licensing, it makes a great choice for games.
Casual games fall into two categories: turn-based games and real-time games. You might be familiar with both types of games, though perhaps you didn't think about them in quite this way.
Turn-based games cover games meant for a mass market with simple rules and gameplay. This includes board games, card games, puzzles, and strategy games. These games respond to simple user input, like tapping on a card or entering a number or letter. These games are well suited for Flutter.
Real-time games cover games with a series of actions that require real-time responses. These include endless runner games, racing games, and so on. You might want to create a game with advanced features like collision detection, camera views, game loops, and the like. These types of games could use an open source game engine like theFlame game engine built using Flutter.
What's included in the toolkit
#The Casual Games Toolkit provides the following free resources.
A repository that includes three game templates that provide a starting point for building a casual game.
Abase game template that includes the basics for:
- Main menu
- Navigation
- Settings
- Level selection
- Player progress
- Play session management
- Sound
- Themes
Acard game template that includes everything in the base template plus:
- Drag and drop
- Game state management
- Multiplayer integration hooks
Anendless runner template created in partnership with the open source game engine, Flame. It implements:
- A FlameGame base template
- Player steering
- Collision detection
- Parallax effects
- Spawning
- Different visual effects
A sample game built on top of the endless runner template, called SuperDash. You can play the game on iOS, Android, orweb,view the open source code repo, orread how the game was created in 6 weeks.
Developer guides for integrating needed services.
A link to aFlame Discord channel. If you have a Discord account, use thisdirect link.
The included game templates and cookbook recipes make certain choices to accelerate development. They include specific packages, likeprovider,google_mobile_ads,in_app_purchase,audioplayers,crashlytics, andgames_services. If you prefer other packages, you can change the code to use them.
The Flutter team understands that monetization might be a future consideration. Cookbook recipes for advertising and in-app purchases have been added.
As explained on theGames page, you can leverage up to $900 in offers when you integrate Google services, such asCloud, Firebase, andAds, into your game.
You must connect your Firebase and GCP accounts to use credits for Firebase services and verify your business email during sign up to earn an additional $100 on top of the normal $300 credit. For the Ads offer,check your region's eligibility.
Get started
#Are you ready? To get started:
If you haven't done so,install Flutter.
Review the
READMEfile for the first type of game you want to create.Join the Flame community on Discord (use thedirect link if you already have a Discord account).
Review the codelabs and cookbook recipes.
- Build amultiplayer game with Cloud Firestore.
- Build aword puzzle with Flutter.
- Make your games more engaging withleaderboards and achievements.
- Monetize your games within-game ads andin-app purchases.
- Add user authentication flow to your game withFirebase Authentication.
- Collect analytics about crashes and errors inside your game withFirebase Crashlytics.
Set up accounts on AdMob, Firebase, and Cloud, as needed.
Write your game!
Deploy to both the Google Play and Apple stores.
Example games
#For Google I/O 2022, both the Flutter team and Very Good Ventures created new games.
VGV created theI/O Pinball game using the Flame engine. To learn about this game, check outI/O Pinball Powered by Flutter and Firebase on Medium andplay the game in your browser.
The Flutter team createdI/O Flip, a virtualCCG. To learn more about I/O Flip, check outHow It's Made: I/O FLIP adds a twist to a classic card game with generative AI on the Google Developers blog andplay the game in your browser.
Other resources
#Once you feel ready to go beyond these games templates, investigate other resources that our community recommended.
Other resources
#Check out the following videos:
- Building multiplatform games with Flutter, a talk given at theGame Developer Conference (GDC) 2024.
- How to build a physics-based game with Flutter and Flame's Forge2D, from Google I/O 2024.
Unless stated otherwise, the documentation on this site reflects Flutter 3.38.6. Page last updated on 2026-01-21.View source orreport an issue.