TweenExtensions<T> extension

Extensions for Tween operations and utilities.

on

Properties

reverse → Tween<T>

Available on Tween<T>, provided by the TweenExtensions extension

Creates a reverse tween (swaps begin and end values).
no setter

Methods

evaluate(double t) → T

Available on Tween<T>, provided by the TweenExtensions extension

Returns the tween value at the given animation value.
map(T mapper(T)) → Tween<T>

Available on Tween<T>, provided by the TweenExtensions extension

Creates a new tween that maps the value through a function.
withCurve(Curve curve) → Tween<T>

Available on Tween<T>, provided by the TweenExtensions extension

Creates a new tween with a curve applied.