Skip to content

yeasin50/flavors_with_flutter

Repository files navigation

flavor_with_flutter

A new Flutter project for Flavor, Test and ... pactice.

  • run using terminal
      flutter run -t lib/main_dev.dart
      flutter run -t lib/main_prod.dart
      ..........

  • using VS-code run, cofig launch.json on VScode.

    -Top Bar Run > open Configurations>

          ///dev launch
          {
              "name": "Dev Mode",
              "type": "dart",
              "request": "launch",
              "program": "lib/main_dev.dart"
          },
    
          ///production mode launch
          {
              "name": "Production Mode",
              "type": "dart",
              "request": "launch",
              "program": "lib/main_prod.dart"
          },

Getting Started

https://www.youtube.com/watch?v=4Y7WaeU3P60

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.