Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributeshelf_router

A request router for the shelf web-framework with support for URL parameters and nested routers.

pub.devRemove
spanner

Generic HTTP router implementation using a Radix Tree for routing, params, and wildcards.

pub.devRemove
ScoresHealth92 (best)56
Maintenance93 (best)11
Quality100 (best)93
Popularity85 (best)34
Community8080
Compatibility100100
UsageDownloads (30 days)637k (best)3.5k
Likes325 (best)9
Pub points160 / 160 (best)145 / 160
GitHub stars1k (best)143
MaintenanceLatest release1.1.5, 5 weeks ago (best)1.0.6, a year ago
Major versions in 12 months00
Contributors60 (best)8
Publishertools.dart.devyaroo.dev
FitPlatformsAll (pure Dart)All (pure Dart)
WASM-readyYesYes
KindPure DartPure Dart
Code generationNoNo
Direct dependencies32 (best)
LicenseAPACHE-2.0MIT
Setup effortLowLow
JudgementStrengths
  • Convenient routing matching for shelf web applications
  • Supports nested routers and URL parameters
  • Prefix Trie filter optimization for static path segments
  • Fast route lookup and insertion via a Radix Tree.
  • Supports route parameters and wildcards.
  • Decoupled from specific server frameworks.
Weaknesses
  • Limited to the shelf ecosystem
  • Requires manual handler mapping unless using the separate generator package
  • Minimal documentation beyond basic tests and examples.
  • Not intended for UI-level routing or navigation.
WarningsNoneNone
shelf_router vs spanner: which Flutter package should you use? | pubscout