Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild

Package for authoring build_runner compatible code generators.

pub.devRemove
checked_yaml

Provides checkedYamlDecode to give detailed errors when decoding YAML with json_serializable.

pub.devRemove
ScoresHealth87 (best)79
Maintenance90 (best)52
Quality93100 (best)
Popularity85 (best)80
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)8.1M12M (best)
Likes102 (best)35
Pub points150 / 160160 / 160 (best)
GitHub stars8711.6k (best)
MaintenanceLatest release5.0.0, 5 weeks ago (best)2.0.4, a year ago
Major versions in 12 months10 (best)
Contributors100+ (best)51
Publisherdart.devgoogle.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies63 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortMediumLow
JudgementStrengths
  • Provides the core underlying Builder interface used across the Dart build ecosystem.
  • Gives easy access to the analyzer for processing and resolving Dart source code.
  • Maps decoding errors to exact YAML line/column
  • Seamlessly integrates with json_serializable's checked mode
  • Supports latest Dart and yaml versions
Weaknesses
  • Low-level compared to source_gen, requiring more manual handling of build steps.
  • Major version updates can introduce breaking changes for packages implementing BuildStep.
  • Only works with json_serializable‑generated models
  • Adds extra dependency and exception layer
  • No benefit if you don't need detailed error reports
WarningsNone
  • Quiet but busy
build vs checked_yaml: which Flutter package should you use? | pubscout