HyperRouter class

Implemented types

Constructors

HyperRouter({required RouteValue initialRoute, required List<HyperRoute<RouteValue>> routes, bool enableUrl = false, RouteValue? onException(OnExceptionState state)?, RouteValue? redirect(BuildContext context, RedirectState state) = _defaultRedirect})

Properties

backButtonDispatcher RootBackButtonDispatcher
The BackButtonDispatcher that is used to configure the Router.
final
controller HyperController
no setter
hashCode int
The hash code for this object.
no setterinherited
onException RouteValue? Function(OnExceptionState state)
final
redirect RouteValue? Function(BuildContext context, RedirectState state)
Triggered during navigation, or on the first initialization.
final
rootController RootHyperController
latefinal
routeInformationParser RouteInformationParser<Object>?
The RouteInformationParser that is used to configure the Router.
latefinaloverride-getter
routeInformationProvider RouteInformationProvider?
The RouteInformationProvider that is used to configure the Router.
latefinaloverride-getter
routerDelegate HyperRouterDelegate
The RouterDelegate that is used to configure the Router.
latefinaloverride-getter
routes List<HyperRoute<RouteValue>>
The navigation tree.
final
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