RouteManager class

Available extensions

Constructors

RouteManager.new()

Properties

allRoutes List<ModularRoute>
no setter
args ModularArguments

Available on RouteManager, provided by the RouteManageExt extension

no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(ModularRoute route) → void
child(String name, {required ModularChild child, CustomTransition? customTransition, List<ParallelRoute> children = const [], Duration? duration, TransitionType? transition, bool maintainState = true, List<RouteGuard> guards = const []}) → void

Available on RouteManager, provided by the RouteManageExt extension

module(String name, {required Module module, TransitionType? transition, CustomTransition? customTransition, Duration? duration, List<RouteGuard> guards = const []}) → void

Available on RouteManager, provided by the RouteManageExt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
redirect(String name, {required String to}) → void

Available on RouteManager, provided by the RouteManageExt extension

toString() String
A string representation of this object.
inherited
wildcard({required ModularChild child, TransitionType transition = TransitionType.defaultTransition, CustomTransition? customTransition, Duration duration = const Duration(milliseconds: 300)}) → void

Available on RouteManager, provided by the RouteManageExt extension

Operators

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