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
mobx_codegen

Generates MobX store boilerplate from @observable, @computed and @action annotations.

pub.devRemove
ScoresHealth96 (best)85
Maintenance92 (best)78
Quality100 (best)96
Popularity93 (best)71
Community100100
Compatibility100 (best)85
UsageDownloads (30 days)3.1M (best)92k
Likes4.5k (best)301
Pub points160 / 160 (best)150 / 160
GitHub stars2.2k2.5k (best)
MaintenanceLatest release4.0.3, 5 weeks ago (best)2.8.0, 2 months ago
Major versions in 12 months00
Contributors100+ (best)76
Publisherdash-overflow.netvyuh.tech
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoNo
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies116 (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.
  • Reduces manual MobX boilerplate
  • Integrates with Dart's build system
  • Keeps store definitions concise and type‑safe
Weaknesses
  • Requires running a code generator (build_runner) during development.
  • Can introduce steep debugging curves when generated files go out of sync.
  • Requires build_runner step and generated files
  • Only works with MobX, not other state‑management libs
WarningsNoneNone
freezed vs mobx_codegen: which Flutter package should you use? | pubscout