AnimateToController class

A controller for the AnimateTo widget. it triggers the animation from the AnimateFrom widget.

it can be used to generate and hold GlobalKeys for the AnimateFrom widget.

Constructors

AnimateToController()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

animate(GlobalKey<AnimateFromState> key, {Duration duration = const Duration(milliseconds: 1000), Curve curve = Curves.easeInOut}) → void
Triggers the animation from the AnimateFrom widget by key.
animateTag(Object targetTag, {Duration duration = const Duration(milliseconds: 1000), Curve curve = Curves.easeInOut}) → void
Triggers the animation from the AnimateFrom widget by tag.
dispose() → void
disposes the stream controller.
listen(AnimateToState owner, ValueChanged<AnimateToInput> callback) → void
creates a disposable listener for stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
tag(Object tag) GlobalKey<AnimateFromState>
Creates a new GlobalKey from the given tag or returns the existing one
toString() String
A string representation of this object.
inherited

Operators

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