Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebuild

Package for authoring build_runner compatible code generators.

pub.devRemove
widgetbook_annotation

Annotations for widgetbook_generator to build Flutter widgets in isolation.

pub.devRemove
ScoresHealth87 (best)80
Maintenance90 (best)67
Quality93100 (best)
Popularity85 (best)63
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)8.1M (best)523k
Likes102 (best)19
Pub points150 / 160160 / 160 (best)
GitHub stars871967 (best)
MaintenanceLatest release5.0.0, 5 weeks ago (best)3.11.0, 9 months ago
Major versions in 12 months10 (best)
Contributors100+ (best)66
Publisherdart.devwidgetbook.io
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies61 (best)
LicenseBSD-3-CLAUSEMIT
Setup effortMediumLow
JudgementStrengths
  • Provides the core underlying Builder interface used across the Dart build ecosystem.
  • Gives easy access to the analyzer for processing and resolving Dart source code.
  • Simplifies Widgetbook setup with declarative annotations
  • Integrates seamlessly with build_runner and widgetbook_generator
Weaknesses
  • Low-level compared to source_gen, requiring more manual handling of build steps.
  • Major version updates can introduce breaking changes for packages implementing BuildStep.
  • Requires build_runner and code generation steps
  • Provides only annotations; requires the companion generator and core packages to function
WarningsNoneNone
build vs widgetbook_annotation: which Flutter package should you use? | pubscout