Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributemobx_codegen

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

pub.devRemove
riverpod_annotation

Annotations for riverpod_generator to enable code generation

pub.devRemove
ScoresHealth8585
Maintenance7893 (best)
Quality96 (best)69
Popularity7183 (best)
Community100 (best)80
Compatibility85100 (best)
UsageDownloads (30 days)92k1.5M (best)
Likes301 (best)182
Pub points150 / 160 (best)130 / 160
GitHub stars2.5k7.4k (best)
MaintenanceLatest release2.8.0, 2 months ago4.0.8, 2 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors76100+ (best)
Publishervyuh.techdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies62 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Reduces manual MobX boilerplate
  • Integrates with Dart's build system
  • Keeps store definitions concise and type‑safe
  • No runtime overhead
  • Keeps annotations separate from logic
  • Supports Dart 3.7+
Weaknesses
  • Requires build_runner step and generated files
  • Only works with MobX, not other state‑management libs
  • Only works with riverpod_generator
  • Requires build_runner
WarningsNoneNone
mobx_codegen vs riverpod_annotation: which Flutter package should you use? | pubscout