Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecli_config

Library to read config from CLI args, env vars, and JSON/YAML files

pub.devRemove
flutter_config

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

pub.devRemove
ScoresHealth5050
Maintenance47 (best)0
Quality96 (best)91
Popularity65 (best)51
Community8080
Compatibility85 (best)73
UsageDownloads (30 days)11M (best)2.4k
Likes10211 (best)
Pub points150 / 160 (best)140 / 160
GitHub stars123149 (best)
MaintenanceLatest release0.2.0, 3 years ago (best)2.0.2, 3 years ago
Major versions in 12 months00
Contributors100+ (best)13
Publishertools.dart.devbyneapp.com
FitPlatformsAll (pure Dart)Android, iOS
WASM-readyNoYes
KindPure DartPlugin (native code)
Code generationNoNo
Direct dependencies20 (best)
LicenseBSD-3-CLAUSEBSD-2-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API with clear precedence rules
  • Supports hierarchical keys and list merging
  • Provides both async and sync loading
  • Very small API, easy to use
  • Works on both Dart and native platforms
  • Supports testing by injecting values
Weaknesses
  • No code generation or type safety for config models
  • Limited to CLI, env, and file sources only
  • No built‑in validation or schema support
  • Secrets are not protected – must not store sensitive data
  • Only reads .env files; no runtime updates
Warnings
  • Quiet but busy
  • Native setup
cli_config vs flutter_config: which Flutter package should you use? | pubscout