Skip to content

Flutter template using CLEAN architecture 🎯

Notifications You must be signed in to change notification settings

ml-opensource/flutter-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

b7489d3 Β· Nov 29, 2024

History

75 Commits
Nov 29, 2024
Oct 15, 2024
Oct 4, 2024
Nov 29, 2024
Oct 22, 2024
Oct 15, 2024
Nov 29, 2024
Nov 29, 2024
Feb 5, 2021
Nov 17, 2021
Nov 29, 2024
Oct 15, 2024
Nov 29, 2024
Nov 29, 2024
Oct 4, 2024
Jan 10, 2024
Jan 10, 2024
Nov 29, 2024
Nov 29, 2024

Repository files navigation

App name - Flutter

πŸ“– Project description

This project serves as a template project for Flutter applications. You can generate a new repository by clicking "Use this template" above.

πŸ”§ Setup and Installation

  1. Execute $ flutter doctor to verify installations.

  2. Execute $ pub get to pull project dependencies.

  3. Execute a run configuration of your choice:

    flutter run --flavor development -t lib/main_development.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_development_keys.json
    flutter run --flavor staging -t lib/main_staging.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_staging_keys.json`

Important

⚠️ Running the Production Flavor

It is not recommended to run the production flavor directly from the IDE (VS Code or Android Studio) as it may be run by mistake. For ease and accuracy, it is advised to run flavors via the VS Code launch menu or the Android Studio Run menu instead.

To use the build runner, use this command:

dart run build_runner build --delete-conflicting-outputs

🌲 Branches

  • main - Latest version in the app store.
  • develop - Default. Feature branches are merged in when complete and then deleted.

πŸ”— Useful links