feat: Implement Flutter flavors for dev, stage, and prod environments with corresponding configurations and build scripts.

This commit is contained in:
Achintha Isuru
2025-12-03 01:41:15 -05:00
parent 02470e196f
commit 323968c79c
8 changed files with 223 additions and 122 deletions

View File

@@ -0,0 +1,13 @@
import 'package:flutter/material.dart';
import 'app_config.dart';
import 'my_app.dart';
void main() {
var configuredApp = AppConfig(
environment: Environment.dev,
appTitle: 'Krow Staff (Dev)',
apiBaseUrl: 'https://dev-api.krow.com',
);
runApp(MyApp(config: configuredApp));
}