Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributepackage_config

Read and write Dart package configuration files.

pub.devRemove
toml

Parse and encode TOML configuration files in Dart.

pub.devRemove
ScoresHealth80 (best)69
Maintenance72 (best)47
Quality93100 (best)
Popularity7375 (best)
Community80 (best)34
Compatibility85100 (best)
UsageDownloads (30 days)18M (best)464k
Likes1535 (best)
Pub points150 / 160160 / 160 (best)
GitHub stars123 (best)50
MaintenanceLatest release3.0.0, 5 months ago (best)0.18.0, 11 months ago
Major versions in 12 months10 (best)
Contributors100+ (best)6
Publishertools.dart.devUnverified
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies1 (best)4
LicenseBSD-3-CLAUSEMIT
Setup effortLowLow
JudgementStrengths
  • Official API that follows the Dart package config spec
  • Discovery functions simplify locating config files
  • Typed models are sealed and ready for future immutability
  • Full TOML 1.1 support including inline tables and new escape sequences
  • Works on all Dart platforms (mobile, web, desktop)
  • No native code, easy to add as a dependency
Weaknesses
  • Only handles package configuration, not a general utility library
  • Requires Dart 3.4+, so not usable on older SDKs
  • Only supports TOML; no other config formats
  • Encoder does not produce inline tables or dotted keys
WarningsNoneNone
package_config vs toml: which Flutter package should you use? | pubscout