ConstantAnimtable<T> class

An CueAnimtable that always returns a fixed value.

Ignores all animation state (CueTrack parameters). Useful for acts that should not animate but need to participate in the animation framework (e.g., a static color or opacity).

Inheritance

Constructors

ConstantAnimtable(T value)
Creates a fixed-value animatable.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → T
The constant value to always return.
final

Methods

evaluate(CueTrack track) → T
Evaluates the animated value given the animation track state.
override
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