MovieTween class
Tween / Animatable that animates multiple properties sequentially or in parallel.
- Inheritance
-
- Object
- Animatable<
Movie> - MovieTween
Constructors
- MovieTween({Curve curve = Curves.linear})
Properties
- curve → Curve
-
The curve used to interpolate between values.
Can be overridden if further specified at scene level or tween level.
final
- duration → Duration
-
Returns the total Duration of the specified animation.
no setter
- 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(
Animation< double> parent) → Animation<Movie> -
Returns a new Animation that is driven by the given animation but that
takes on values determined by this object.
inherited
-
chain(
Animatable< double> parent) → Animatable<Movie> -
Returns a new Animatable whose value is determined by first evaluating
the given parent and then evaluating this object at the result.
inherited
-
evaluate(
Animation< double> animation) → Movie -
The current value of this object for the given Animation.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
scene(
{Duration? begin, Duration? duration, Duration? end, Curve? curve}) → MovieScene - Adds a new scene to the movie. A scene is specified with a time span. The time span can be set by providing either
-
toString(
) → String -
A string representation of this object.
inherited
-
transform(
double t) → Movie -
Computes the tween
override
-
tween<
T> (MovieTweenPropertyType property, Animatable< T> tween, {Duration? begin, Duration? duration, Duration? end, Curve? curve}) → MovieScene - Animates a property and returns the implicitly created scene. The scene can be used to add further properties to the scene or to add further scenes to the movie.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited