Search packages, repositories and app categories

Package detailsv4.1.2

environment_config

Environment specific config generator. Allows to specify env configuration during CI/CD build. Primarily created to simplify Flutter build configuration

AndroidiOSmacOSWindowsLinux
30-day downloads
2.5K
Likes
91
Pub points
160

Install package

flutter pub add environment_config

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter/Dart package that generates environment-specific configuration files during CI/CD builds. It enables developers to define and inject different configurations (like API URLs or keys) based on the target environment without hardcoding values. Designed to simplify Flutter app build configurations, it integrates seamlessly into automated workflows. The package reads environment variables and generates Dart code at compile time, ensuring secure and dynamic configuration handling across platforms.

Use cases

  • CI/CD pipeline integration
  • Multi-environment app deployment
  • Secure API key management
  • Dynamic build configuration
  • Automated config generation
  • Cross-platform configuration

Key features

  • Runtime config generation
  • CI/CD-ready workflow
  • Environment variable injection
  • Compile-time code generation
  • Supports all major platforms
  • Minimal runtime overhead

Suitable for

  • Flutter teams using CI/CD
  • Apps with multiple environments
  • Developers needing secure config handling
  • Projects requiring automated build setup
  • Teams managing complex configuration needs

Considerations

  • Requires build-time setup
  • Limited to compile-time configuration
  • Depends on environment variable availability
  • Not suitable for runtime config changes
  • Manual config file updates needed for new environments

Categories

Dependencies

Dependency list 4 items

Projects using this package

No data available yet.