PlaybackSegment class

One resolved step of a TrackPlayback.

Annotations

Constructors

PlaybackSegment({required int stepIndex, required int direction, required int cycle, required Duration start, required Duration? end})
Creates a resolved segment.
const

Properties

cycle → int
The loop cycle this segment belongs to.
final
direction → int
1 while playing forward, -1 on a pingPong reverse pass.
final
end → Duration?
When the segment is over on the timeline: when the next segment starts, or for the last one when it settles.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
start → Duration
When the segment starts, on the slot-local axis.
final
stepIndex → int
The index into TrackPlayback.steps this segment plays.
final

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