A Navigator observer that manages Hero transitions.

An instance of HeroController should be used in Navigator.observers. This is done automatically by MaterialApp.

Inheritance

Constructors

HeroController({CreateRectTween createRectTween })
Creates a hero controller with the given RectTween constructor if any. [...]

Properties

createRectTween CreateRectTween
Used to create RectTweens that interpolate the position of heros in flight. [...]
final
hashCode int
The 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

Methods

didPop(Route from, Route to) → void
The Navigator popped route.
didPush(Route to, Route from) → void
The Navigator pushed route.
didStartUserGesture() → void
The Navigator's routes are being moved by a user gesture. [...]
didStopUserGesture() → void
User gesture is no longer controlling the Navigator. [...]
didRemove(Route route, Route previousRoute) → void
The Navigator removed route.
inherited
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 ==(other) bool
The equality operator. [...]
inherited