RouterAdapter class

Constructors

RouterAdapter.new(String routerName, {ChildModuleAdapter? module, PageAdapter page(BuildContext context, dynamic args)?, List<RouterGuardAdapter> guards = const [], Widget? onGuardCheck, TransitionType transition = TransitionType.defaultTransition, CustomTransition? customTransition})

Properties

customTransition → CustomTransition?
final
guards List<RouterGuardAdapter>
final
hashCode int
The hash code for this object.
no setterinherited
module ChildModuleAdapter?
final
no setter
onGuardCheck Widget?
final
page PageAdapter Function(BuildContext context, dynamic args)?
final
routerName String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transition → TransitionType
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