Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeriverpod_annotation

Annotations for riverpod_generator to enable code generation

pub.devRemove
widgetbook_annotation

Annotations for widgetbook_generator to build Flutter widgets in isolation.

pub.devRemove
ScoresHealth85 (best)80
Maintenance93 (best)67
Quality69100 (best)
Popularity83 (best)63
Community8080
Compatibility100100
UsageDownloads (30 days)1.5M (best)523k
Likes182 (best)19
Pub points130 / 160160 / 160 (best)
GitHub stars7.4k (best)967
MaintenanceLatest release4.0.8, 2 weeks ago (best)3.11.0, 9 months ago
Major versions in 12 months10 (best)
Contributors100+ (best)66
Publisherdash-overflow.netwidgetbook.io
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies21 (best)
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • No runtime overhead
  • Keeps annotations separate from logic
  • Supports Dart 3.7+
  • Simplifies Widgetbook setup with declarative annotations
  • Integrates seamlessly with build_runner and widgetbook_generator
Weaknesses
  • Only works with riverpod_generator
  • Requires build_runner
  • Requires build_runner and code generation steps
  • Provides only annotations; requires the companion generator and core packages to function
WarningsNoneNone
riverpod_annotation vs widgetbook_annotation: which Flutter package should you use? | pubscout