RoutingState class

Routing state management for navigation Provides reactive navigation state that can be used with any routing solution

Constructors

RoutingState({required String currentRoute, Map<String, dynamic>? params, Map<String, dynamic>? queryParams, Object? arguments, List<String> routeHistory = const []})
const

Properties

arguments Object?
final
canGoBack bool
no setter
currentRoute String
final
hashCode int
The hash code for this object.
no setterinherited
params Map<String, dynamic>?
final
previousRoute String?
no setter
queryParams Map<String, dynamic>?
final
routeHistory List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? currentRoute, Map<String, dynamic>? params, Map<String, dynamic>? queryParams, Object? arguments, List<String>? routeHistory}) RoutingState
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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