Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_router_generator

Generate request routers for the shelf web-framework using source annotations.

pub.devRemove
widgetbook_annotation

Annotations for widgetbook_generator to build Flutter widgets in isolation.

pub.devRemove
ScoresHealth7780 (best)
Maintenance74 (best)67
Quality91100 (best)
Popularity5763 (best)
Community8080
Compatibility85100 (best)
UsageDownloads (30 days)22k523k (best)
Likes71 (best)19
Pub points140 / 160160 / 160 (best)
GitHub stars1k (best)967
MaintenanceLatest release1.1.5, 5 months ago (best)3.11.0, 9 months ago
Major versions in 12 months00
Contributors6066 (best)
Publishertools.dart.devwidgetbook.io
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyNoYes
KindPure DartPure Dart
Code generationYesNo
Direct dependencies81 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Keeps routing logic organized inside respective service classes
  • Integrates seamlessly with build_runner and source_gen
  • Simplifies Widgetbook setup with declarative annotations
  • Integrates seamlessly with build_runner and widgetbook_generator
Weaknesses
  • Requires running a build step via build_runner
  • Adds code generation boilerplate to the project
  • Requires build_runner and code generation steps
  • Provides only annotations; requires the companion generator and core packages to function
WarningsNoneNone
shelf_router_generator vs widgetbook_annotation: which Flutter package should you use? | pubscout