TrackStep<T extends Object> class
sealed
A single instruction in a track animation.
Steps compare by value. Their motions compare by movement, so steps with motions of different classes that move the same are equal.
Constructors
-
TrackStep.at(Duration at, T value, {Motion? motion, List<
Motion> ? motionPerDimension}) -
A keyframe: reaches
valueexactly atat.constfactory - TrackStep.free({required FreeMotion motion, WaitUntil until})
-
Runs a self-directed free
motion.constfactory - TrackStep.hold(Duration duration)
-
Waits for
durationbefore the next step.constfactory -
TrackStep.loop(List<
TrackStep< steps, {T? from, LoopMode mode, int? count, Object? together})T> > -
Repeats
stepsaccording tomode.constfactory - TrackStep.sync({required Object token})
-
A synchronization barrier that waits for sibling tracks.
constfactory
-
TrackStep.to(T value, {Motion? motion, List<
Motion> ? motionPerDimension, WaitUntil until}) -
Animates to
valueusing a target-basedmotion.constfactory
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
-
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