NavigationHistoryObserver class Null safety

Inheritance

Constructors

factory

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
history BuiltList<Route>
Gets a clone of the navigation history as an immutable list.
read-only
historyChangeStream Stream
Accessor to the history change stream.
read-only
The navigator that the observer is observing, if any.
read-only, inherited
next Route?
Gets the next route in the navigation history, which is the most recently popped route.
read-only
poppedRoutes BuiltList<Route>
Gets a clone of the popped routes as an immutable list.
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
top Route?
Gets the top route in the navigation stack.
read-only

Methods

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. [...]
override
didReplace({Route? newRoute, Route? oldRoute}) → void
The Navigator replaced oldRoute with newRoute.
override
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
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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