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
envied

Explicitly reads environment variables into a dart file from a .env file.

pub.devRemove
ScoresHealth5986 (best)
Maintenance3774 (best)
Quality100100
Popularity1884 (best)
Community6480 (best)
Compatibility100100
UsageDownloads (30 days)632323k (best)
Likes17956 (best)
Pub points160 / 160160 / 160
GitHub stars—231
MaintenanceLatest release1.3.0, 8 months ago1.3.10, 8 weeks ago (best)
Major versions in 12 months00
Contributors—20
Publishertienisto.comcinibulk.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.
  • Type-safe access to environment variables
  • Supports obfuscation and encryption options
  • Flexible configuration via build.yaml, annotations, and CLI overrides
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.
  • Requires build_runner and code generation steps
  • Changes to hidden env files may not automatically trigger incremental rebuilds without build.yaml configuration
WarningsNoneNone
enven vs envied: which Flutter package should you use? | pubscout