RouteDefinition<T extends AppRoute> class

Constructors

RouteDefinition.page(PageBuilder<T> onPage, {GuardFunction<T>? onGuard, PopFunction<T>? onPop})
RouteDefinition.view(ViewBuilder<T> onView, {GuardFunction<T>? onGuard, PopFunction<T>? onPop})

Properties

hashCode int
The hash code for this object.
no setterinherited
onGuard GuardFunction<T>?
final
onPage PageBuilder<T>?
final
onPop PopFunction<T>?
final
onView ViewBuilder<T>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

build(AppRouterState state, AppRoute route, {bool cupertino = false}) Page
guard(AppRouterState state, AppRoute route) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pop(AppRouterState state, AppRoute route) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited