ActiveRouteController class abstract interface

Read and control the currently active route at the current level.

"Active" is the route that the user is interacting with right now, usually the last entry in the children stack of the current node.

Annotations
  • @experimental

Properties

activeRoute → YxRoute?
The currently active YxRoute, or null if no route is active.
no setter
activeRouteStream → Stream<YxRoute?>
A stream that emits whenever the active route changes.
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

isRouteActive(YxRoute route) → bool
Returns true if route matches the currently active route.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setActiveRoute(YxRoute route) → void
Marks route as active at the current level.
toString() → String
A string representation of this object.
inherited

Operators

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