Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributefreezed

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

pub.devRemove
mek_data_class

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

pub.devRemove
ScoresHealth96 (best)59
Maintenance92 (best)49
Quality100100
Popularity93 (best)37
Community100 (best)11
Compatibility100100
UsageDownloads (30 days)3.1M (best)15k
Likes4.5k (best)14
Pub points160 / 160160 / 160
GitHub stars2.2k (best)6
MaintenanceLatest release4.0.3, 5 weeks ago (best)2.2.0, 11 months ago
Major versions in 12 months00
Contributors100+ (best)2
Publisherdash-overflow.netUnverified
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoYes
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies113 (best)
LicenseMITMIT
Setup effortMediumLow
JudgementStrengths
  • Significantly reduces boilerplate code for data models.
  • Supports union types, deep cloning, default values, and asserts.
  • Integrates seamlessly with json_serializable for de/serialization.
  • 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 running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
  • Requires a build_runner code-generation setup.
WarningsNoneNone
freezed vs mek_data_class: which Flutter package should you use? | pubscout