ClipTrack class

What a motion file spells for a block: animationTime: ClipTrack(at: 0.ms, length: 2400.ms). A MotionTrack with the block and no keys, so the typed animate() signatures take it where they take any track.

Inheritance
Available extensions

Constructors

ClipTrack({required Duration at, required Duration length, String clip = '', double speed = 1, Duration offset = Duration.zero, bool reverse = false})

Properties

clips → List<MotionClip>
Blocks instead of keys — see MotionClip, kept sorted by start. A track has one or the other: a block's keys would be derived, so a key added to a block track replaces the blocks, and a block put on a key track replaces the keys. Two blocks that overlap crossfade over the overlap. The timeline draws bars for them; the file spells ClipTrack for one and ClipBlocks for several.
finalinherited
duration → Duration
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
keys → List<MotionKey>
finalinherited
kind → TrackKind
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

blendAt(Duration t) → ClipBlend

Available on MotionTrack, provided by the MotionTrackBlend extension

The blocks' answer at t. Inside one block, that block. Inside two, the earlier leads and the later comes in, blend running 0 to 1 from the later's start to the earlier's end. Between blocks the last one to end holds its end; before the first, the first holds its start.
copy() → MotionTrack
inherited
evaluate(Duration t) → Object

Available on MotionTrack, provided by the MotionTrackEvaluate extension

The hold rule: before the first key its value, after the last the last, and between neighbours a lerp shaped by the ARRIVING key's curve. Pure in t — backwards seek needs no history.
insertKey(MotionKey k) → void
inherited
moveKey(MotionKey k, Duration at) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeKey(MotionKey k) → void
inherited
sortClips() → void
inherited
toString() → String
A string representation of this object.
inherited

Operators

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