Framework ArchitectureConfig & Environment
Type-Safe Configuration
Config & Environment
Manage API base URLs, feature flags, and secret keys across development, staging, and production environments with zero runtime crashes.
.env Configuration
Define environment variables in root .env files:
.env
bash
Typed BloomConfig Class
Subclass BloomConfig to define type-safe accessors with fallbacks:
lib/app/config.dart
dart
Dependency Injection Access
Usage Example
dart