Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeenven

Generate environment variables from a .env file at compile time with optional obfuscation.

pub.devRemove
envify

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

pub.devRemove
ScoresHealth59 (best)48
Maintenance37 (best)0
Quality100100
Popularity1833 (best)
Community64 (best)41
Compatibility100100
UsageDownloads (30 days)632 (best)318
Likes17158 (best)
Pub points160 / 160160 / 160
GitHub stars—105
MaintenanceLatest release1.3.0, 8 months ago (best)2.0.3, 4 years ago
Major versions in 12 months00
Contributors—1
Publishertienisto.comfrenco.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies10 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Generates compile-time environment variables directly from a .env file without verbose configuration.
  • Supports optional obfuscation of sensitive values to prevent easy reverse engineering.
  • Provides built-in support for mocking environment variables during tests.
  • 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.
Weaknesses
  • Subsequent changes may not trigger rebuilds automatically unless build_runner is used in a specific way, and build_runner integration may only work once per change depending on execution.
  • Variables marked with const cannot be overridden via mocking.
  • The package has been deprecated in favor of Envied and will not receive further updates.
WarningsNoneNone
enven vs envify: which Flutter package should you use? | pubscout