Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributecopy_with_extension

Annotation for generating copyWith extensions code using copy_with_extension_gen.

pub.devRemove
shelf_router_generator

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

pub.devRemove
ScoresHealth87 (best)77
Maintenance97 (best)74
Quality8591 (best)
Popularity71 (best)57
Community8080
Compatibility100 (best)85
UsageDownloads (30 days)240k (best)22k
Likes111 (best)71
Pub points160 / 160 (best)140 / 160
GitHub stars861k (best)
MaintenanceLatest release18.0.1, 6 days ago (best)1.1.5, 5 months ago
Major versions in 12 months80 (best)
Contributors1260 (best)
Publisheralexander-kirsch.comtools.dart.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesNo
KindPure DartPure Dart
Code generationNoYes
Direct dependencies1 (best)8
LicenseMITAPACHE-2.0
Setup effortLowLow
JudgementStrengths
  • Automates boilerplate generation for immutable models
  • Supports Dart primary constructors and shallow copying for record typedefs
  • Keeps routing logic organized inside respective service classes
  • Integrates seamlessly with build_runner and source_gen
Weaknesses
  • Requires build_runner and a separate generator package to produce code
  • Breaking changes in generator rules can require updating generated files and class configurations
  • Requires running a build step via build_runner
  • Adds code generation boilerplate to the project
WarningsNoneNone
copy_with_extension vs shelf_router_generator: which Flutter package should you use? | pubscout