RouterExtensions extension

on

Methods

handlesRoute(String route, {bool calculate = false}) bool
Whether this router handles the defined route
Navigates to the provided path. It's assumed that the path represents the full url, containing any parameters, which will be extracted before navigating.
Navigates directly to a route instance, using the provided parameters.
onGenerateRoute(RouteSettings settings) Route
This extension allows the router to be integrated into Navigator, eg: onGenerateRoute: routes.onGenerateRoute