Skip to content

Commit f935103

Browse files
committed
removed files that should be in gitignore
1 parent 965de65 commit f935103

File tree

6 files changed

+5
-30
lines changed

6 files changed

+5
-30
lines changed

app/env/.env.example

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# The .env file MUST be in .gitignore
2+
# Delete this file after creating .env
23
#
34
# Each flavor (dev/qa/prod) uses the same .env file but reads
45
# different variables based on the suffix:
56
# - Development (main_dev.dart) → reads *_DEV variables
67
# - QA/Staging (main_qa.dart) → reads *_QA variables
78
# - Production (main.dart) → reads *_PROD variables
8-
#
9-
# Access variables in domain/lib/env/env_config.dart:
10-
# static String get apiUrl => dotenv.env['API_URL_$env']?.toString() ?? '';
119

1210
API_URL_DEV=https://your-api-url-dev.com
1311
API_URL_QA=https://your-api-url-qa.com

app/lib/main/env/env_config.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,10 @@ class FlavorConfig {
6161
/// 5. Access variables in domain/lib/env/env_config.dart using:
6262
/// static String get apiUrl => dotenv.env['API_URL_$env']?.toString() ?? '';
6363
/// (The $env automatically appends DEV, QA, or PROD based on active flavor)
64+
/// 6. Go to pubspec.yaml and add the following:
65+
/// assets:
66+
/// - env/.env
67+
6468
static String getEnvFilePath() {
6569
return 'env/.env.example';
6670
}

modules/common/.flutter-plugins

Lines changed: 0 additions & 6 deletions
This file was deleted.

modules/data/.flutter-plugins

Lines changed: 0 additions & 14 deletions
This file was deleted.

modules/domain/.flutter-plugins

Lines changed: 0 additions & 6 deletions
This file was deleted.

modules/domain/.flutter-plugins-dependencies

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)