WaitTimeline class
Holds progress at 1 for duration, without moving it. Used as a generic mid-sequence pause.
- Inheritance
-
- Object
- Timeline
- DurationTimeline
- WaitTimeline
Constructors
- WaitTimeline(double duration)
Properties
- curve → Curve
-
The curve to shape progress with. Defaults to Curves.linear.
finalinherited
- duration → double
-
How long this timeline takes to complete.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasStarted → bool
-
Whether or not this timeline has started progressing.
no setterinherited
- isFinished → bool
-
Whether or not this timeline has finished.
no setterinherited
- isInfinite → bool
-
Whether duration is
double.infinity.no setterinherited - progress → double
-
This timeline's current progress.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
advance(
double dt) → double -
Advances this timeline's internal clock by
dt, returning any leftover time once finished.inherited -
fit(
double distance) → void -
Tells this timeline how far its progress will carry, for one paced by
speed. Composites pass it to their children; the rest ignore it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recede(
double dt) → double -
The reverse of advance: recedes this timeline's internal clock by
dt, returning any leftover time once back at the start.inherited -
setToEnd(
) → void -
Jumps this timeline straight to its end.
inherited
-
setToStart(
) → void -
Resets this timeline back to its start.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited