Flutter starter kit with stacked architecture
- Implement flavors configuration.
Use Stacked CLI Automation tool
-
create new folder in ui/views with respective name.
-
create two files in that folder ending with View and ViewModel , e.g. HomeView and HomeViewModel.
-
In app/router.dart add that route in an array.
-
After that run this command in command line,
flutter pub run build_runner build --delete-conflicting-outputs
-
create new file in services folder with respect to your service, e.g FirestoreService.dart
-
include that service in Services.dart
-
After that run this command in command line,
flutter pub run build_runner build --delete-conflicting-outputs
- Click on link to view full configuration of translations Easy Localization.