Flavor Tools
Installation
Incorporate the package into your Dart or Flutter project by adding it as a dependency in your pubspec.yaml
file:
dependencies:
flavor_tools: ^1.0.4
or
$ dart pub add flavor_tools
Get started
$ dart pub run flavor_tools create -p com.example.app -f flavorName -d "App display name"
Additional
-t [TeamId]
- include TeamId to flavor.--iconsLauncher=true
- if using packageflutter_launcher_icons
for flavors.-x [path/to/Runner.xcodeproj/project.pbxproj]
Run flavor
$ flutter run --flavor=flavorName