You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-4Lines changed: 15 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,31 @@
1
1
# App name - Flutter
2
2
3
3
## 📖 Project description
4
+
4
5
This project serves as a template project for Flutter applications. You can generate a new repository by clicking "Use this template" above.
5
6
6
7
## 🔧 Setup and Installation
8
+
7
9
- Execute `$ flutter doctor` to verify installations
8
10
- Execute `$ pub get` to pull project dependencies
9
11
- Execute a run configuration of choice
10
-
-`$ flutter run --flavor staging -t lib/main_staging.dart`
11
-
-`$ flutter run --flavor production -t lib/main_production.dart`
12
+
-`$ flutter run --flavor development -t lib/main_development.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_development_keys.json`
13
+
-`$ flutter run --flavor staging -t lib/main_staging.dart --dart-define-from-file=lib/config/dart_define_keys/dart_define_staging_keys.json`
14
+
15
+
⚠️ **Running the Production Flavor**
16
+
17
+
It is **not recommended** to run the production flavor directly from the IDE
18
+
(VS Code or Android Studio) as it may be run by mistake. For ease and accuracy,
19
+
it is advised to run flavors via the **VS Code launch menu** or the **Android
20
+
Studio Run menu** instead.
12
21
13
22
## 🌲 Branches
14
-
*`master` - Latest version in the app store.
15
-
*`develop` - Default. Feature branches are merged in when complete and then deleted.
23
+
24
+
-`master` - Latest version in the app store.
25
+
-`develop` - Default. Feature branches are merged in when complete and then deleted.
0 commit comments