RouterBase<T extends Object> class
abstract
Base class for user-owned generated routers.
Constructors
Properties
- debugLogDiagnostics → bool
-
Whether generated routing should print runtime diagnostics.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- refreshListenable → Listenable?
-
Optional listenable that triggers redirect and guard reevaluation.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
didChangeRouteStack(
RouteStack< T> previous, RouteStack<T> next) → void - Called after the generated router commits a route stack change.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
redirect(
T route) → T? -
Returns a replacement route before guards run, or
nullto continue. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited