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_annotation

Annotations for the freezed code-generator.

pub.devRemove
ScoresHealth88 (best)78
Maintenance64 (best)55
Quality96 (best)81
Popularity97 (best)92
Community100 (best)80
Compatibility100100
UsageDownloads (30 days)18M (best)4.9M
Likes784 (best)564
Pub points150 / 160150 / 160
GitHub stars8842.2k (best)
MaintenanceLatest release8.13.0, 3 months ago (best)3.1.0, a year ago
Major versions in 12 months00
Contributors50100+ (best)
Publisherdart.devdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationYesYes
Direct dependencies43 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
JudgementStrengths
  • Zero‑runtime reflection – fast and safe
  • Full support for generics, nested built collections, and custom serializers
  • Builder pattern enforces immutability and safe updates
  • Lightweight package providing only the necessary annotations for freezed
  • Clear separation between annotations and the code generation logic
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
  • Does nothing without the freezed package
WarningsNone
  • Quiet but busy
built_value vs freezed_annotation: which Flutter package should you use? | pubscout