keyframes_tween library

Classes

Keyframe<T>
KeyframeProperty<T>
A property that can be animated with keyframes.
KeyframesTween
A tween that define multiple animated properties.
KeyframeValue
A value that contains a wet of values associated to properties
NamedAndTypedPropertyKey
A property that is identified from its type and a name.
PropertyKey
A key that identifies the property.
TimeKeyframe<T>
TimeKeyframeProperty<T>
TypedPropertyKey
A property that is identified from its type only.

Functions

defaultLerp<T>(T begin, T end, double time) → T
A default lerp function that support all base types (Color, Size, Decoration, ...).

Typedefs

Lerp<T> = T Function(T a, T b, double t)