FlutterNavigatorProvider class

NavigationProvider implementation for Flutter's built-in Navigator Based on RouteObserver pattern for tracking route changes

Inheritance

Properties

currentRoute String?
Current route name/path
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isActive bool
Whether this provider is currently active and tracking navigation
no setteroverride
Stream of navigation events from this provider
no setteroverride
previousRoute String?
Previous route name/path
no setteroverride
providerName String
Get the provider name for debugging/logging
no setteroverride
routeObserver RouteObserver<ModalRoute>
Get RouteObserver for adding to Navigator
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

detectInitialRoute(NavigatorState? navigatorState) → void
Try to detect initial route from Navigator context This should be called after the NavigatorState is available
dispose() Future<void>
Dispose of the navigation provider and clean up resources
override
initialize() Future<void>
Initialize the navigation provider
override
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

Static Properties

instance FlutterNavigatorProvider
no setter