/// Application configuration from compile-time environment variables. /// /// Set via: flutter build --dart-define=API_URL=https://... class AppConfig { AppConfig._(); /// Core API base URL static const coreApiUrl = String.fromEnvironment( 'CORE_API_URL', defaultValue: 'https://api.schweitz.net', ); /// Tatlock API base URL static const tatlockApiUrl = String.fromEnvironment( 'TATLOCK_API_URL', defaultValue: 'https://tatlock.schweitz.net', ); /// Authentik OIDC discovery URL static const authDiscoveryUrl = String.fromEnvironment( 'AUTH_DISCOVERY_URL', defaultValue: 'https://auth.schweitz.net/application/o/tatlock-ui/.well-known/openid-configuration', ); /// Authentik client ID static const authClientId = String.fromEnvironment( 'AUTH_CLIENT_ID', defaultValue: 'tatlock-ui', ); /// Authentik redirect URI scheme static const authRedirectScheme = String.fromEnvironment( 'AUTH_REDIRECT_SCHEME', defaultValue: 'net.schweitz.tatlock', ); /// Whether running in debug mode static const isDebug = bool.fromEnvironment('DEBUG', defaultValue: false); }