Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_gen_runner

Generates strongly-typed Dart classes for Flutter assets, fonts, and colors to avoid string-based APIs.

pub.devRemove
riverpod_generator

Generates Riverpod providers from annotated functions using build_runner.

pub.devRemove
ScoresHealth87 (best)85
Maintenance7996 (best)
Quality96 (best)69
Popularity8386 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)672k1.2M (best)
Likes329438 (best)
Pub points150 / 160 (best)130 / 160
GitHub stars1.6k7.4k (best)
MaintenanceLatest release5.15.0, 4 months ago4.0.10, 2 weeks ago (best)
Major versions in 12 months0 (best)1
Contributors46100+ (best)
Publisherwasabeef.jpdash-overflow.net
FitPlatformsAndroid, iOS, Windows, macOS, LinuxAll (pure Dart)
WASM-readyNoNo
KindFlutter widgetsPure Dart
Code generationYesYes
Direct dependencies9 (best)11
LicenseMITMIT
Setup effortLowMedium
JudgementStrengths
  • Eliminates string-based asset paths and potential typos.
  • Integrates seamlessly with build_runner and pubspec.yaml configurations.
  • Supports specialized integrations like flutter_svg, rive, and lottie.
  • Eliminates manual provider boilerplate
  • Supports multiple and named parameters for families
  • Enables stateful hot‑reload of individual providers
Weaknesses
  • Requires running a code generator whenever assets are added or modified.
  • Adds build-time overhead to your project development workflow.
  • 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
flutter_gen_runner vs riverpod_generator: which Flutter package should you use? | pubscout