RouteAware class

An interface for objects that are aware of their current Route.

This is used with RouteObserver to make a widget aware of changes to the Navigator's session history.

Constructors

RouteAware()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

didPop() → void
Called when the current route has been popped off.
didPopNext() → void
Called when the top route has been popped off, and the current route shows up.
didPush() → void
Called when the current route has been pushed.
didPushNext() → void
Called when a new route has been pushed, and the current route is no longer visible.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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