Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeflutter_gen

A code generator for your assets, fonts, and colors to eliminate string-based APIs.

pub.devRemove
riverpod_generator

Generates Riverpod providers from annotated functions using build_runner.

pub.devRemove
ScoresHealth87 (best)85
Maintenance7996 (best)
Quality100 (best)69
Popularity7986 (best)
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)138k1.2M (best)
Likes1.8k (best)438
Pub points160 / 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
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies6 (best)11
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Eliminates typo-prone string-based asset APIs.
  • Integrates well with popular packages like flutter_svg, lottie, and rive.
  • Supports build_runner and pub workspaces.
  • Eliminates manual provider boilerplate
  • Supports multiple and named parameters for families
  • Enables stateful hot‑reload of individual providers
Weaknesses
  • Requires running code generation (build_runner) when assets change.
  • Adds a build step and dependency footprint to the project.
  • 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 vs riverpod_generator: which Flutter package should you use? | pubscout