tween property

Tween<T> tween
final

A linear interpolation between a beginning and ending value.

Tween is useful if you want to interpolate across a range.

You should use LerpTween() instead Tween<double>(begin: 0.0, end: 1.0)

Implementation

final Tween<T> tween;