Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributechecked_yaml

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

pub.devRemove
copy_with_extension_gen

Generate type‑safe copyWith extensions for annotated classes and record typedefs.

pub.devRemove
ScoresHealth7985 (best)
Maintenance5297 (best)
Quality100 (best)85
Popularity80 (best)73
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)12M (best)152k
Likes35220 (best)
Pub points160 / 160160 / 160
GitHub stars1.6k (best)86
MaintenanceLatest release2.0.4, a year ago18.0.1, 6 days ago (best)
Major versions in 12 months0 (best)8
Contributors51 (best)12
Publishergoogle.devalexander-kirsch.com
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies3 (best)5
LicenseBSD-3-CLAUSEMIT
Setup effortLowMedium
JudgementStrengths
  • Maps decoding errors to exact YAML line/column
  • Seamlessly integrates with json_serializable's checked mode
  • Supports latest Dart and yaml versions
  • Zero runtime cost, compile‑time safety
  • Supports Dart records and advanced options like immutable fields
  • No extra dependencies beyond build_runner
Weaknesses
  • Only works with json_serializable‑generated models
  • Adds extra dependency and exception layer
  • No benefit if you don't need detailed error reports
  • Requires build_runner to regenerate code
  • Limited to annotated classes/records, not dynamic objects
  • Breaking changes in major releases (e.g., 17.0.0)
Warnings
  • Quiet but busy
None
checked_yaml vs copy_with_extension_gen: which Flutter package should you use? | pubscout