TimelineScene<T> class

Representing a time span of a TimelineTween. This class shouldn't be instanced by hand. It should be creating via TimelineTween.addScene or TimelineScene.addSubsequentScene methods.

Constructors

TimelineScene({required Duration begin, required Duration duration, required TimelineTween<T> 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<T>>
final
parent TimelineTween<T>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addSubsequentScene({required Duration duration, Duration delay = Duration.zero, Curve? curve}) TimelineScene<T>
Adds an additional scene that begins immediately after this scene for a given duration.
animate(T property, {required Animatable tween, Curve? curve, Duration shiftBegin = Duration.zero, Duration shiftEnd = Duration.zero}) TimelineScene<T>
Specifies a tween for certain property.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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