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.

Implementers
Annotations

Constructors

TrackStep.at(Duration at, T value, {Motion? motion, List<Motion>? motionPerDimension})
A keyframe: reaches value exactly at at.
const
factory
TrackStep.free({required FreeMotion motion, WaitUntil until})
Runs a self-directed free motion.
const
factory
TrackStep.hold(Duration duration)
Waits for duration before the next step.
const
factory
TrackStep.loop(List<TrackStep<T>> steps, {T? from, LoopMode mode, int? count, Object? together})
Repeats steps according to mode.
const
factory
TrackStep.sync({required Object token})
A synchronization barrier that waits for sibling tracks.
const
factory
TrackStep.to(T value, {Motion? motion, List<Motion>? motionPerDimension, WaitUntil until})
Animates to value using a target-based motion.
const
factory

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