bloom_config library

Configuration and environment variable management for Bloom applications.

Exports typed configurations, dot-env loaders, and runtime validation schemas.

Example:

import 'package:bloom_framework/bloom_config.dart';

void main() {
  BloomConfig.init(values: {'API_URL': 'https://api.example.com'});
  final apiUrl = BloomConfig.get('API_URL');
}

Classes

AndroidPlatform
Android platform build configuration settings.
BloomAppConfig
Strongly typed application configuration model for bloom.config.dart.
BloomConfig
Strongly typed configuration model mapping directly to bloom.yaml.
BloomDeepLinksConfig
Deep link URL scheme and universal link domain configuration.
BloomDeploymentConfig
Deployment block configuration in bloom.yaml.
BloomFeatures
Feature flags and subsystem toggles declared in bloom.yaml.
BloomFlavorConfig
Configuration for a specific application build flavor (e.g. staging, production).
BloomPlatforms
Target platforms configuration declared in bloom.yaml.
BloomPlugin
A strongly typed plugin reference declared in bloom.config.dart.
BloomShorebirdConfig
Shorebird OTA (Over-The-Air) deployment configuration declared in bloom.yaml.
IosPlatform
iOS platform build configuration settings.
PlatformsConfig
Combined platforms configuration block aggregating Android, iOS, and Web settings.
WebPlatform
Web platform build configuration settings.

Enums

NativeMode
Native execution mode for Bloom projects.