KeyframeProperty<T> class

A property that can be animated with keyframes.

See also :

  • Keyframe which is a value associated to a time.

Constructors

KeyframeProperty(List<Keyframe<T>> keyframes, {String? name, Lerp<T>? lerp})
Create a property from a set of keyframes.

Properties

hashCode int
The hash code for this object.
no setterinherited
key PropertyKey
A unique key that idenfies the property from its type, and its name if not empty.
no setter
keyframes List<Keyframe<T>>
The list of all the keyframes.
final
lerp Lerp<T>?
The lerping function used to interpolate a value of T.
final
name String?
A name that identifies this property.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type Type
The property type.
no setter

Methods

evaluate(double t) → T
Evaluate a value for the given time t.
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