A project to show how to work with app theme.
This project contains 3 flavors:
- development
- staging
- production
To run the desired flavor either use the launch configuration in VSCode/Android Studio or use the following commands:
# Development
$ flutter run --flavor development --target lib/main_development.dart
# Staging
$ flutter run --flavor staging --target lib/main_staging.dart
# Production
$ flutter run --flavor production --target lib/main_production.dart
- Install melos:
dart pub global activate melos
- Bootstrapping repo:
melos bootstrap
ormelos bs
- NOTE: If flutter version doesn't match expected version inpubsec.yaml
, set the sdkPath while bootstrapping like so:melos bootstrap --sdk-path=/Users/<YOUR_USER>/fvm/versions/3.7.0
ormelos bootstrap --sdk-path=.fvm/flutter_sdk
- Cleaning repo:
melos clean
*Theming App works on iOS, Android, Web, and Windows.