| j / k | Scroll down / up |
| gg | Scroll to top |
| G | Scroll to bottom |
| ⌘K / / | Open search |
| ? | Show this help |
| Esc | Close search / help |
| n / N | Next / previous section |
| h | Go to landing |
| d | Go to docs |
| : | Command mode — type section name |
Press ? or Esc to close
No .env files committed. No hardcoded base URLs. Configuration is injected at compile time via dart-define.
class AppConstants {
static const baseUrl = String.fromEnvironment(
'BASE_URL',
defaultValue: 'https://api.example.com',
);
static const env = String.fromEnvironment(
'ENV',
defaultValue: 'development',
);
} # Single value
flutter run --dart-define=BASE_URL=https://api.example.com
# Full environment file (dev / staging / prod)
flutter run --dart-define-from-file=env/prod.json {
"BASE_URL": "https://api.example.com",
"ENV": "production"
}