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
package_config

Read and write Dart package configuration files.

pub.devRemove
ScoresHealth5080 (best)
Maintenance4773 (best)
Quality96 (best)93
Popularity6573 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)11M18M (best)
Likes1015 (best)
Pub points150 / 160150 / 160
GitHub stars123123
MaintenanceLatest release0.2.0, 3 years ago3.0.0, 5 months ago (best)
Major versions in 12 months0 (best)1
Contributors100+100+
Publishertools.dart.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Simple API with clear precedence rules
  • Supports hierarchical keys and list merging
  • Provides both async and sync loading
  • Official API that follows the Dart package config spec
  • Discovery functions simplify locating config files
  • Typed models are sealed and ready for future immutability
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
  • Only handles package configuration, not a general utility library
  • Requires Dart 3.4+, so not usable on older SDKs
Warnings
  • Quiet but busy
None
cli_config vs package_config: which Flutter package should you use? | pubscout