Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 972 Bytes

README.md

File metadata and controls

39 lines (29 loc) · 972 Bytes

basecode_getx

Base project with GetX State Management.

How To Run

Flavor is currently only work with Android build. For iOS, there is no need to call --flavor as argument in every command or you can run with copy launch.json on this link : https://drive.google.com/file/d/1kPYEU2AVAxhQ7hIKPUP_jYfyuXAhThE5/view?usp=share_link

  • development:

    flutter run --flavor development -t lib/main_development.dart
    
  • staging:

    flutter run --flavor staging -t lib/main_staging.dart
    
  • production:

    flutter run --flavor production -t lib/main_production.dart
    

How To Build APK

  • development:

    flutter build apk --split-per-abi --flavor development -t lib/main_development.dart --release
    
  • staging:

    flutter build apk --split-per-abi --flavor staging -t lib/main_staging.dart --release
    
  • production:

    flutter build apk --split-per-abi --flavor production -t lib/main_production.dart --release