Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributedrift_dev

Generates Dart database code from Drift table definitions as a dev‑dependency.

pub.devRemove
riverpod_generator

Generates Riverpod providers from annotated functions using build_runner.

pub.devRemove
ScoresHealth8485 (best)
Maintenance9696
Quality72 (best)69
Popularity7986 (best)
Community8080
Compatibility8585
UsageDownloads (30 days)1.6M (best)1.2M
Likes72438 (best)
Pub points130 / 160130 / 160
GitHub stars3.3k7.4k (best)
MaintenanceLatest release2.35.3, 12 days ago (best)4.0.10, 2 weeks ago
Major versions in 12 months0 (best)1
Contributors100+100+
Publishersimonbinder.eudash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoNo
KindPure DartPure Dart
Code generationYesYes
Direct dependencies2511 (best)
LicenseMITMIT
Setup effortMediumMedium
JudgementStrengths
  • Seamless integration with build_runner and the drift ecosystem
  • Supports latest analyzer, cli_util, and build versions
  • Handles reserved Dart keywords and SQL column name conflicts automatically
  • Eliminates manual provider boilerplate
  • Supports multiple and named parameters for families
  • Enables stateful hot‑reload of individual providers
Weaknesses
  • Requires a build step, adding compile time to the workflow
  • Only a dev‑dependency; no runtime functionality on its own
  • 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
drift_dev vs riverpod_generator: which Flutter package should you use? | pubscout