MXRouteObserver class

Inheritance

Constructors

MXRouteObserver({required String pageAddress})

Properties

hashCode int
The hash code for this object.
no setterinherited
history List<String>
no setter
isRoot bool
no setter
lastIndex int
no setter
The navigator that the observer is observing, if any.
no setterinherited
pageAddress String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackLength int
no setter

Methods

debugObservingRoute(PageRoute route) bool
Whether this observer is managing changes for the specified route.
inherited
didPop(Route route, Route? previousRoute) → void
The Navigator popped route.
override
didPush(Route route, Route? previousRoute) → void
The Navigator pushed route.
override
didRemove(Route route, Route? previousRoute) → void
The Navigator removed route.
inherited
didReplace({Route? newRoute, Route? oldRoute}) → void
The Navigator replaced oldRoute with newRoute.
inherited
didStartUserGesture(Route route, Route? previousRoute) → void
The Navigator's routes are being moved by a user gesture.
inherited
didStopUserGesture() → void
User gesture is no longer controlling the Navigator.
inherited
markFullScreen(List<String> names, NativeOverlayConfigsAdjustFunction? configNativeOverlay, bool once) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerAutoPushHiding(BuildContext context, List<String> names, NativeOverlayConfigsAdjustFunction? configFunc, {required bool persist}) → void
subscribe(RouteAware routeAware, PageRoute route) → void
Subscribe routeAware to be informed about changes to route.
inherited
toString() String
A string representation of this object.
override
unsubscribe(RouteAware routeAware) → void
Unsubscribe routeAware.
inherited
updateNativePanGestureState() → void

Operators

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

Static Methods

of(BuildContext context, {bool rootNavigator = false}) MXRouteObserver?