Skip to main content

Running the app

The news application project contains 2 flavors:

  • development
  • 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/main_development.dart

Production

flutter run --flavor production --target lib/main/main_production.dart
note

Your app (generated from the Flutter News Template) works on iOS and Android.