SequenceAnimationBuilder class
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
-
addAnimatable({required Animatable animatable, required Duration from, required Duration to, Curve curve = Curves.linear, required Object tag})
→ SequenceAnimationBuilder
-
Adds an Animatable to the sequence, in the most cases this would be a Tween.
The from and to Duration specify points in time where the animation takes place.
You can also specify a Curve for the Animatable.
-
addAnimatableAfterLastOne({required Animatable animatable, Duration delay = Duration.zero, required Duration duration, Curve curve = Curves.linear, required Object tag})
→ SequenceAnimationBuilder
-
Convenient wrapper to add an animatable after the last one is finished
-
addAnimatableAfterLastOneWithTag({required Object lastTag, required Animatable animatable, Duration delay = Duration.zero, required Duration duration, Curve curve = Curves.linear, required Object tag})
→ SequenceAnimationBuilder
-
Convenient wrapper to add an animatable after the last one with a specific tag finished is finished
-
addAnimatableUsingDuration({required Animatable animatable, required Duration start, required Duration duration, Curve curve = Curves.linear, required Object tag})
→ SequenceAnimationBuilder
-
Convenient wrapper around to specify an animatable using a duration instead of end point
-
animate(AnimationController controller)
→ SequenceAnimation
-
The controllers duration is going to be overwritten by this class, you should not specify it on your own
-
getCurrentDuration()
→ Duration
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited