Create scalable Flutter apps with MVVM architecture, state management & dependency injection using the Stacked Flutter Framework.
- Clone the repository locally or use the template for your own projects:
cd flutter_stacked_starter
- Install dependencies using the following command:
flutter pub get
- Generate files with
build_runner
:
flutter pub run build_runner build --delete-conflicting-outputs
- Run the app on your emulator of choice (simulator in case of iOS):
flutter run
lib/
|- api/
|- app/
|- constants/
|- enums/
|- exceptions/
|- models/
|- services
|- ui
|- [screen_name]/
|- shared/
|- main.dart