UniversalRouter class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- currentConfiguration → RoutePath
-
no setter
- getRegisteredRoute → dynamic
-
to access current router table status;
no setter
- routeInformationProvider → PlatformRouteInformationProvider
-
final
- routerDelegate → RouterDelegateInherit
-
final
- routerInformationParser → RouteInformationParserInherit
-
final
- unknownPage → RouteInstance
-
This is a pre-registered Route as the 404 page.
Also, the value is able to access from outside to get the information
and unregister the route;
final
Static Methods
-
addRoutePathChangingListeners(
dynamic function(RoutePath)) → dynamic -
changePath(
String path) → dynamic -
getCurrentRouteData(
) → RouteData? -
getRouteInstance(
String path) → RouteInstance -
pop(
) → dynamic -
removeRoutePathListeners(
dynamic function(RoutePath)) → dynamic