MovieScene class

Representing a time span of a MovieTween. This class shouldn't be instanced by hand. It should be creating via MovieTween.scene or MovieScene.thenFor methods.

Constructors

MovieScene({required Duration begin, required Duration duration, required MovieTween parent, Curve? curve})

Properties

begin Duration
final
curve Curve?
final
duration Duration
final
hashCode int
The hash code for this object.
no setterinherited
items List<_SceneItem>
final
parent MovieTween
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
thenFor({required Duration duration, Duration delay = Duration.zero, Curve? curve}) MovieScene
Adds an additional scene that begins immediately after this scene.
thenTween<T>(MovieTweenPropertyType property, Animatable<T> tween, {required Duration duration, Duration delay = Duration.zero, Curve? curve, Curve? sceneCurve}) 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.
toString() String
A string representation of this object.
inherited
tween<T>(MovieTweenPropertyType property, Animatable<T> tween, {Curve? curve, Duration shiftBegin = Duration.zero, Duration shiftEnd = Duration.zero}) 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