Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributego_router

Declarative routing package for Flutter based on Navigation 2 supporting deep links and URL-based navigation.

pub.devRemove
navigation_history_observer

A Flutter NavigatorObserver that tracks pushed and popped navigation route history.

pub.devRemove
ScoresHealth98 (best)50
Maintenance98 (best)1
Quality93100 (best)
Popularity100 (best)69
Community100 (best)11
Compatibility100100
UsageDownloads (30 days)5.7M (best)34k
Likes5.8k (best)70
Pub points150 / 160160 / 160 (best)
GitHub stars5.3k (best)24
MaintenanceLatest release18.1.4, 12 days ago (best)1.1.1, 3 years ago
Major versions in 12 months10 (best)
Contributors100+ (best)2
Publisherflutter.devUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies51 (best)
LicenseBSD-3-CLAUSEBSD-3-CLAUSE
Setup effortLowLow
JudgementStrengths
  • Built-in URL path and query parameter parsing using template syntax.
  • Comprehensive deep linking support across platforms.
  • Redirection support based on application state (e.g. authentication).
  • Singleton pattern allows access to history from anywhere in code.
  • Provides an easy-to-use history change stream.
  • Returns immutable BuiltLists to prevent unauthorized state manipulation.
Weaknesses
  • Active feature development is not currently planned as the package is considered feature-complete by the Flutter team.
  • Navigation 2 abstractions can have a steep learning curve.
  • Popped routes are already disposed, meaning you cannot simply navigate back to them directly.
  • Singleton usage may complicate dependency injection or testing.
WarningsNoneNone
go_router vs navigation_history_observer: which Flutter package should you use? | pubscout