A Flutter demo project that combines Firebase AI Logic with a physics-based UI built using Flame and Forge2D.
ScreenRecording.mp4
- Firebase AI Logic (
firebase_ai) - Flame
- Forge2D (
flame_forge2d) - Flutter
- Flutter SDK installed
- Firebase CLI installed and authenticated
- FlutterFire CLI installed
You must initialize your own Firebase project before running this app.
- Create a Firebase project in the Firebase Console.
- Enable Firebase AI Logic / Gemini API in your Firebase project.
- Run the following command in this repository:
flutterfire configure- Confirm that Firebase configuration files are generated or updated for your target platform(s) (for example,
lib/firebase_options.dart, Android and iOS Firebase config files).
flutter pub get
flutter run- This repository is a demo project.
- Any checked-in Firebase configuration should be treated as demo-only.
- Replace Firebase configuration with your own Firebase project setup before real use.