browser_routes library

Classes

ErrorRoute
error route; not bound to a path; onActivate is called whenever an error with routing occurs (403,404)
HashRouter
hash router allows for routing in normal .html files; useful for testing
Route<T extends StateObject>
default route
Router
registry of Routes
StateObject
web browsers history API allows to store states; dart objects must be serializable to JS maps.
Url<T extends StateObject>
representation of an url with an optional history state; a Url's path always starts with '/'

Extensions

IterableFreedom on Iterable<E>
Trimmer on String