Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value

Immutable value types with builders, enum classes and JSON serialization for Dart.

pub.devRemove
freezed

Code generation for immutable classes, tagged unions, and cloning without boilerplate.

pub.devRemove
ScoresHealth8896 (best)
Maintenance6492 (best)
Quality96100 (best)
Popularity97 (best)93
Community100100
Compatibility100100
UsageDownloads (30 days)18M (best)3.1M
Likes7844.5k (best)
Pub points150 / 160160 / 160 (best)
GitHub stars8842.2k (best)
MaintenanceLatest release8.13.0, 3 months ago4.0.3, 5 weeks ago (best)
Major versions in 12 months00
Contributors50100+ (best)
Publisherdart.devdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyYesNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies4 (best)11
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
Weaknesses
  • Requires build_runner and a generator dev dependency
  • Steeper learning curve compared to plain json_serializable
  • Adds extra build step to the CI pipeline
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
built_value vs freezed: which Flutter package should you use? | pubscout