Projeto de Estudos par Utilização de Flavours em Flutter
Instâncias criadas
- Main
- Free
- Full
Alterações Principais
- E:\workspace\flutter\app-flutter-flavour\android\app\src
- E:\workspace\flutter\app-flutter-flavour\android\app\src\free
- E:\workspace\flutter\app-flutter-flavour\android\app\src\free\res\values\strings.xml
- E:\workspace\flutter\app-flutter-flavour\android\app\src\full
- E:\workspace\flutter\app-flutter-flavour\android\app\src\full\res\values\strings.xml
- E:\workspace\flutter\app-flutter-flavour\android\app\src\main\res\values
- E:\workspace\flutter\app-flutter-flavour\android\app\src\main\res\values\strings.xml
- E:\workspace\flutter\app-flutter-flavour\android\app\src\main\AndroidManifest.xml
- E:\workspace\flutter\app-flutter-flavour\android\app\build.gradle
Instância do Main
flutter run --flavor main -t lib/main.dart
Instância do Free
flutter run --flavor free -t lib/main_free.dart
Instância do Full
flutter run --flavor full -t lib/main_full.dart
Instância do Main
flutter build apk --flavor main -t lib/main.dart
Instância do Free
flutter build apk-free --flavor free -t lib/main_free.dart
Instância do Full
flutter build apk-full --flavor full -t lib/main_full.dart
{
"version": "0.2.0",
"configurations": [
{
"name": "Flutter Main",
"request": "launch",
"type": "dart",
"args": ["--flavor", "main"],
"program": "lib/main.dart"
},
{
"name": "Flutter Free",
"request": "launch",
"type": "dart",
"args": ["--flavor", "free"],
"program": "lib/main_free.dart"
},
{
"name": "Flutter Full",
"request": "launch",
"type": "dart",
"args": ["--flavor", "full"],
"program": "lib/main_full.dart"
}
]
}