RouteManager class

A reactive route manager for handling navigation state.

Properties

canGoBack bool
Checks if navigation can go back.
no setter
current RouteInfo
Gets the current route information.
no setter
currentRoute Reactive<RouteInfo>
Gets the current route as a reactive value.
no setter
hashCode int
The hash code for this object.
no setterinherited
history List<RouteInfo>
Gets the navigation history.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearHistory() → void
Clears the navigation history.
dispose() → void
Disposes the route manager.
goBack() bool
Navigates back to the previous route.
Navigates to a new route.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
replace(String path, {String? name, Map<String, dynamic>? parameters, Map<String, dynamic>? queryParameters}) → void
Replaces the current route without adding to history.
reset() → void
Fully resets the route manager to initial state (for testing).
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance RouteManager
Gets the singleton instance of RouteManager.
no setter