A Navigator observer that manages Hero transitions.
An instance of HeroController should be used as the Navigator.observer.
This is done automatically by MaterialApp
.
- Inheritance
- Object
- NavigatorObserver
- HeroController
Constructors
- HeroController({CreateRectTween createRectTween })
-
Creates a hero controller with the given RectTween constructor if any.
Properties
- hashCode → int
-
Get a hash code for this object.
read-only, inherited -
The navigator that the observer is observing, if any.
read-only, inherited - runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
Methods
-
didPop(
Route route, Route previousRoute) → void -
The
Navigator
popped the given route. -
didPush(
Route route, Route previousRoute) → void -
The
Navigator
pushed the given route. -
didStartUserGesture(
) → void -
The
Navigator
is being controlled by a user gesture. -
didStopUserGesture(
) → void -
User gesture is no longer controlling the
Navigator
. -
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