CarpenterRouterRuntime class final
Runtime capability exposing the active yx_navigation controller together with the latest route-tree root snapshot.
Constructors
- CarpenterRouterRuntime({required RouteNode? root})
-
Creates router runtime state from a navigation controller and its current
route-tree root.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
Controller used for application navigation mutations.
final
- root → RouteNode?
-
Latest route-tree root snapshot exposed to Carpenter route rendering.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
maybePop(
) → void - Requests a pop from the underlying navigation controller when its current state permits one.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
push(
YxRoute route, {Map< String, String> ? arguments, Map<String, Object?> ? extra}) → void -
Pushes
routethrough the underlying navigation controller with optional string arguments and typed extra payload. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited