RouterMixin mixin
A mixin for MomentumController that adds the capability to handle route changes from momentum's built-in routing system.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getParam<
T extends RouterParam> () → T? -
Get the current route parameters specified using
the
params
parameter inMomentumRouter.goto(...)
method. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onRouteChanged(
RouterParam? param) → void -
A callback whenever
momentum_router.MomentumRouter.goto
ormomentum_router.MomentumRouter.pop
is called. The RouterParam is also provided. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited