A starter kit for beginner learns with Get library (State Manager, Navigation Manager and Dependencies Manager), RxDart, Hive, Localization and Dio to architect a flutter project. This starter kit build an Covid-19 app as a example
- Get Pattern by Get
- Navigate pages by Get
- Dependencies by Get
- Local cache by using Hive
- Restful api call by using Dio
- Localization by using flutter_sheet_localization
- Environment Variable & Project Config (Like App Name, Bundle Id) based on different project flavour (Development, Staging & Production)
- Build pojo by using json_serializable
- Screen Util
- Follow flutter official setup guide to set up flutter environment
- Download flutter version
- Run: flutter create .
- Click 'Edit Configuration'
- Point to specs main in lib/app_config folder
flutter create .
For development,
flutter run -t lib/app_config/main_development.dart
For staging,
flutter run -t lib/app_config/main_production.dart
For production,
flutter run --flavor production -t lib/config/main_production.dart
flutter packages pub run build_runner build --delete-conflicting-outputs
- Config build flavors in Android & iOS native
- Add Fastlane for CI/CD
- Add Sonar static code analysis
- ......
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.