Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeaes256

AES‑256‑GCM encryption/decryption with PBKDF2‑SHA256 key derivation.

pub.devRemove
flutter_secure_dotenv

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

pub.devRemove
ScoresHealth62 (best)53
Maintenance52 (best)24
Quality100 (best)97
Popularity2628 (best)
Community4141
Compatibility100100
UsageDownloads (30 days)4.8k (best)2.3k
Likes814 (best)
Pub points160 / 160160 / 160
GitHub stars18 (best)
MaintenanceLatest release2.2.4, 6 days ago (best)2.0.0, 9 months ago
Major versions in 12 months0 (best)1
Contributors11
Publisherknottx.devmfazrinizar.com
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAll (pure Dart)
WASM-readyYesYes
KindFlutter widgetsPure Dart
Code generationNoYes
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Strong defaults (100k PBKDF2 iterations, random salt/nonce)
  • Works everywhere (Flutter, Dart VM, Web) without native code
  • Simple, stateless API
  • 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
  • Relies on a user‑provided passphrase for key material
  • No support for other ciphers or modes
  • Web version lacks native acceleration
  • Key must be stored in binary unless fetched from server
  • Requires build_runner for code generation
  • No runtime key rotation support
WarningsNoneNone
aes256 vs flutter_secure_dotenv: which Flutter package should you use? | pubscout