Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_config

Loads .env files and exposes variables to Dart, iOS and Android code.

pub.devRemove
flutter_secure_dotenv

Securely load and decrypt .env files in Flutter/Dart using AES encryption.

pub.devRemove
ScoresHealth5053 (best)
Maintenance024 (best)
Quality9197 (best)
Popularity51 (best)28
Community80 (best)41
Compatibility73100 (best)
UsageDownloads (30 days)2.4k (best)2.3k
Likes211 (best)14
Pub points140 / 160160 / 160 (best)
GitHub stars149 (best)8
MaintenanceLatest release2.0.2, 3 years ago2.0.0, 9 months ago (best)
Major versions in 12 months0 (best)1
Contributors13 (best)1
Publisherbyneapp.commfazrinizar.com
FitPlatformsAndroid, iOSAll (pure Dart)
WASM-readyYesYes
KindPlugin (native code)Pure Dart
Code generationNoYes
Direct dependencies0 (best)1
LicenseBSD-2-CLAUSEMIT
Setup effortLowMedium
JudgementStrengths
  • Very small API, easy to use
  • Works on both Dart and native platforms
  • Supports testing by injecting values
  • Strong encryption with AES‑CBC and key/IV handling
  • Zero‑runtime dependency on external services
  • Full code‑gen support for typed env classes
  • Comprehensive security guidance in SECURITY.md
Weaknesses
  • Secrets are not protected – must not store sensitive data
  • Only reads .env files; no runtime updates
  • Key must be stored in binary unless fetched from server
  • Requires build_runner for code generation
  • No runtime key rotation support
Warnings
  • Native setup
None
flutter_config vs flutter_secure_dotenv: which Flutter package should you use? | pubscout