NyRouterRoute class

Constructors

NyRouterRoute({required String name, required NyRouteView view, BaseArguments? defaultArgs, List<RouteGuard>? routeGuards, PageTransitionType pageTransitionType = PageTransitionType.rightToLeft})

Properties

builder NyRouterRouteBuilder
getter/setter pair
defaultArgs BaseArguments?
final
hashCode int
The hash code for this object.
no setterinherited
name String
final
pageTransitionType ↔ PageTransitionType
getter/setter pair
routeGuards List<RouteGuard>?
Ran before opening the route itself. If every route guard returns true, the route is approved and opened. Anything else will result in the route being rejected and not open.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
view NyRouteView
final

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