voo_config 1.0.2 copy "voo_config: ^1.0.2" to clipboard
voo_config: ^1.0.2 copied to clipboard

Build-time configuration code generation for Flutter. For non-sensitive values like URLs, feature flags, and API versions. NOT for secrets.

1.0.2 #

Changed #

  • Updated test dependency from ^1.24.0 to ^1.28.0
  • Fixes dependency resolution conflict with Flutter SDK's matcher 0.12.18

1.0.1 #

Fixed #

  • Version bump to align with voo_config_generator 1.0.1 fixes (PartBuilder and getter support)

1.0.0 #

Added #

  • Initial Release: Build-time configuration code generation for Flutter
  • @VooConfig Annotation: Class-level annotation for enabling code generation
    • path - Path to config file (default: .env)
    • name - Custom generated class name
    • allowOptionalFields - Allow nullable fields by default
    • useConstantCase - Convert camelCase to CONSTANT_CASE
  • @ConfigField Annotation: Field-level configuration
    • name - Custom config variable name
    • type - Value type (string, int, double, bool)
    • optional - Allow null if missing
    • defaultValue - Default value for optional fields
  • ConfigType Enum: Support for String, int, double, and bool types
  • Multi-Environment Support: Use different config files per environment
  • CI/CD Ready: Works seamlessly with GitHub Actions and other CI systems

Security #

  • No Obfuscation: Removed XOR obfuscation from predecessor package (voo_env)
    • XOR provided false sense of security
    • Values embedded in binary are always extractable
    • For secrets, use voo_secrets package instead

Migration from voo_env #

  • Renamed: @VooEnv@VooConfig
  • Renamed: @EnvField@ConfigField
  • Renamed: EnvTypeConfigType
  • Removed: obfuscate parameter (use voo_secrets for sensitive values)
1
likes
150
points
20
downloads

Documentation

API reference

Publisher

verified publishervoostack.com

Weekly Downloads

Build-time configuration code generation for Flutter. For non-sensitive values like URLs, feature flags, and API versions. NOT for secrets.

Homepage
Repository (GitHub)
View/report issues

Topics

#config #configuration #code-generation #flutter

License

MIT (license)

Dependencies

meta

More

Packages that depend on voo_config