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_annotation

Annotations for riverpod_generator to enable code generation

pub.devRemove
ScoresHealth8485 (best)
Maintenance96 (best)93
Quality72 (best)69
Popularity7983 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)1.6M (best)1.5M
Likes72182 (best)
Pub points130 / 160130 / 160
GitHub stars3.3k7.4k (best)
MaintenanceLatest release2.35.3, 12 days ago (best)4.0.8, 2 weeks ago
Major versions in 12 months0 (best)1
Contributors100+100+
Publishersimonbinder.eudash-overflow.net
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies252 (best)
LicenseMITMIT
Setup effortMediumLow
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
  • No runtime overhead
  • Keeps annotations separate from logic
  • Supports Dart 3.7+
Weaknesses
  • Requires a build step, adding compile time to the workflow
  • Only a dev‑dependency; no runtime functionality on its own
  • Only works with riverpod_generator
  • Requires build_runner
WarningsNoneNone
drift_dev vs riverpod_annotation: which Flutter package should you use? | pubscout