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_generator

Generates Riverpod providers from annotated functions using build_runner.

pub.devRemove
ScoresHealth8585
Maintenance7896 (best)
Quality96 (best)69
Popularity7186 (best)
Community100 (best)80
Compatibility8585
UsageDownloads (30 days)92k1.2M (best)
Likes301438 (best)
Pub points150 / 160 (best)130 / 160
GitHub stars2.5k7.4k (best)
MaintenanceLatest release2.8.0, 2 months ago4.0.10, 2 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors76100+ (best)
Publishervyuh.techdash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies6 (best)11
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Reduces manual MobX boilerplate
  • Integrates with Dart's build system
  • Keeps store definitions concise and type‑safe
  • Eliminates manual provider boilerplate
  • Supports multiple and named parameters for families
  • Enables stateful hot‑reload of individual providers
Weaknesses
  • Requires build_runner step and generated files
  • Only works with MobX, not other state‑management libs
  • Adds a build_runner step and generated code to the project
  • Debugging generated code can be less straightforward
  • Only works for Dart/Flutter projects that can run code generation
WarningsNoneNone
mobx_codegen vs riverpod_generator: which Flutter package should you use? | pubscout