Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuilt_value_generator

Generates immutable value types, enum classes, and JSON serializers for Dart.

pub.devRemove
freezed

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

pub.devRemove
ScoresHealth8296 (best)
Maintenance6492 (best)
Quality96100 (best)
Popularity7793 (best)
Community100100
Compatibility85100 (best)
UsageDownloads (30 days)457k3.1M (best)
Likes1484.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)
Publishergoogle.devdash-overflow.net
FitPlatformsAll (pure Dart)Android, iOS, Windows, macOS, Linux
WASM-readyNoNo
KindPure DartFlutter widgets
Code generationYesYes
Direct dependencies7 (best)11
LicenseBSD-3-CLAUSEMIT
Setup effortMediumMedium
JudgementStrengths
  • Full support for object-oriented design, interfaces, and generics in serialization.
  • Immutable collections and validation hooks out of the box.
  • 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 code generation and the build_runner tool.
  • Steeper learning curve and more boilerplate than some newer alternatives.
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
WarningsNoneNone
built_value_generator vs freezed: which Flutter package should you use? | pubscout