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
widgetbook_annotation

Annotations for widgetbook_generator to build Flutter widgets in isolation.

pub.devRemove
ScoresHealth84 (best)80
Maintenance96 (best)67
Quality72100 (best)
Popularity79 (best)63
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)1.6M (best)520k
Likes72 (best)19
Pub points130 / 160160 / 160 (best)
GitHub stars3.3k (best)967
MaintenanceLatest release2.35.3, 12 days ago (best)3.11.0, 9 months ago
Major versions in 12 months00
Contributors100+ (best)66
Publishersimonbinder.euwidgetbook.io
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies251 (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
  • Simplifies Widgetbook setup with declarative annotations
  • Integrates seamlessly with build_runner and widgetbook_generator
Weaknesses
  • Requires a build step, adding compile time to the workflow
  • Only a dev‑dependency; no runtime functionality on its own
  • Requires build_runner and code generation steps
  • Provides only annotations; requires the companion generator and core packages to function
WarningsNoneNone
drift_dev vs widgetbook_annotation: which Flutter package should you use? | pubscout