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
mek_data_class

Low-code generation for hashCode, ==, toString, copyWith, change, and Builder methods.

pub.devRemove
ScoresHealth88 (best)59
Maintenance64 (best)49
Quality96100 (best)
Popularity97 (best)37
Community100 (best)11
Compatibility100100
UsageDownloads (30 days)18M (best)15k
Likes784 (best)14
Pub points150 / 160160 / 160 (best)
GitHub stars884 (best)6
MaintenanceLatest release8.13.0, 3 months ago (best)2.2.0, 11 months ago
Major versions in 12 months00
Contributors50 (best)2
Publisherdart.devUnverified
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
  • Minimally intrusive on the class interface through generated mixins.
  • Supports inheritance and generic classes.
  • Provides helper classes like *Changes and *Builder for data manipulation.
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 a build_runner code-generation setup.
WarningsNoneNone
built_value vs mek_data_class: which Flutter package should you use? | pubscout