Neda/admin_panel/lib/config/app_config.dart
2026-03-07 19:18:52 +03:30

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 = true;
// ─── API Settings ─────────────────────────────────────────────────────────
static const String baseUrl = 'http://localhost: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';
}