20 lines
1.3 KiB
Dart
20 lines
1.3 KiB
Dart
/// Application configuration
|
|
/// Set [debugMode] to true to use fake/mock data instead of real API
|
|
class AppConfig {
|
|
// ─── Debug Toggle ─────────────────────────────────────────────────────────
|
|
/// When true, the app uses in-memory mock data (no network calls).
|
|
/// When false, the app communicates with the real backend API.
|
|
static const bool debugMode = false;
|
|
|
|
// ─── API Settings ─────────────────────────────────────────────────────────
|
|
static const String baseUrl = 'http://192.168.3.9:8000';
|
|
|
|
// ─── App Metadata ─────────────────────────────────────────────────────────
|
|
static const String appName = 'NEDA Admin';
|
|
static const String appVersion = '1.0.0';
|
|
|
|
// ─── Mock Credentials (only used in debugMode) ────────────────────────────
|
|
static const String mockAdminUsername = 'admin';
|
|
static const String mockAdminSecret = 'admin123';
|
|
}
|