This project serves as a template project for Flutter applications. You can generate a new repository by clicking "Use this template" above.
-
Execute
$ flutter doctor
to verify installations. -
Execute
$ pub get
to pull project dependencies. -
Execute a run configuration of your choice:
flutter run --flavor development -t lib/main_development.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_development_keys.json
flutter run --flavor staging -t lib/main_staging.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_staging_keys.json`
Important
It is not recommended to run the production flavor directly from the IDE (VS Code or Android Studio) as it may be run by mistake. For ease and accuracy, it is advised to run flavors via the VS Code launch menu or the Android Studio Run menu instead.
To use the build runner, use this command:
dart run build_runner build --delete-conflicting-outputs
main
- Latest version in the app store.develop
- Default. Feature branches are merged in when complete and then deleted.