Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeenvify

Handle environment variables safely using .env files and code generation.

pub.devRemove
environment_config

Environment-specific configuration and .env file generator for Flutter and Dart builds.

pub.devRemove
ScoresHealth4864 (best)
Maintenance069 (best)
Quality100100
Popularity3346 (best)
Community41 (best)6
Compatibility100 (best)85
UsageDownloads (30 days)3182.6k (best)
Likes158 (best)91
Pub points160 / 160160 / 160
GitHub stars105 (best)90
MaintenanceLatest release2.0.3, 4 years ago4.1.2, 2 months ago (best)
Major versions in 12 months00
Contributors11
Publisherfrenco.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesNo
Direct dependencies0 (best)4
LicenseMITBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Generates compile-time constant expressions for use in annotations and code generation.
  • Supports multiple environment files via annotations.
  • Casts values to literal types like int, double, num, bool, and String.
  • Sync reading of configuration values to decrease app start time.
  • Supports custom field patterns, default values, and global environment variables.
  • Can generate both Dart classes and .env files simultaneously.
Weaknesses
  • The package has been deprecated in favor of Envied and will not receive further updates.
  • Does not obfuscate or encrypt config values by default.
  • Flutter developers on version 1.17+ are advised to use built-in compile-time variables instead.
WarningsNoneNone
envify vs environment_config: which Flutter package should you use? | pubscout