Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributetoml

Parse and encode TOML configuration files in Dart.

pub.devRemove
yaml

A Dart library for parsing YAML documents into Dart data structures.

pub.devRemove
ScoresHealth6992 (best)
Maintenance4786 (best)
Quality100100
Popularity7596 (best)
Community3480 (best)
Compatibility100100
UsageDownloads (30 days)462k21M (best)
Likes35296 (best)
Pub points160 / 160160 / 160
GitHub stars50123 (best)
MaintenanceLatest release0.18.0, 11 months ago3.1.4, 3 months ago (best)
Major versions in 12 months00
Contributors6100+ (best)
PublisherUnverifiedtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies43 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • 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
  • Pure Dart implementation, no native dependencies
  • Supports error recovery with custom listeners
  • Maintained by dart-lang with regular updates
  • Compatible with all platforms (web, mobile, desktop)
Weaknesses
  • Only supports TOML; no other config formats
  • Encoder does not produce inline tables or dotted keys
  • No YAML dumping support
  • Limited to parsing, not editing or serializing
  • Some edge cases (self-referential collections) still throw exceptions
WarningsNoneNone
toml vs yaml: which Flutter package should you use? | pubscout