Visit my game
git clone https://github.com/xuuanthuc/battleship.git
fvm flutter pub get
fvm flutter gen-l10n
fvm flutter packages pub run build_runner build --delete-conflicting-outputs
Note: If you have error Undefined name 'AppLocalizations'.
:
- Go to File -> Invalidate Caches -> Invalidate and Restart
- Run
flutter pub get
again
-
Create a project in Firebase console (how to create firebase project)
-
In firebase console, Go to Project Overview and add new flutter platform
-
Config flutter app according to firebase instructions
-
Gen
firebase_options.dart
file
flutterfire configure --project=PROJECT_NAME