Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeconfig

Typed CLI argument and config file parser with env support

pub.devRemove
package_config

Read and write Dart package configuration files.

pub.devRemove
ScoresHealth83 (best)80
Maintenance93 (best)72
Quality100 (best)93
Popularity5373 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)204k18M (best)
Likes815 (best)
Pub points160 / 160 (best)150 / 160
GitHub stars13123 (best)
MaintenanceLatest release0.10.0, 6 days ago (best)3.0.0, 5 months ago
Major versions in 12 months0 (best)1
Contributors9100+ (best)
Publisherserverpod.devtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationNoNo
Direct dependencies71 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Typed option definitions with automatic parsing and constraints
  • Support for environment variables and YAML/JSON config files
  • Collects all validation errors upfront for better UX
  • Drop‑in replacement for ArgParser with minimal code changes
  • 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
  • Requires Dart SDK 3.9+ (breaking change in 0.10.0)
  • addCommand() not supported, needs BetterCommandRunner from cli_tools
  • No code generation support
  • Only handles package configuration, not a general utility library
  • Requires Dart 3.4+, so not usable on older SDKs
WarningsNoneNone
config vs package_config: which Flutter package should you use? | pubscout