Tween<T extends dynamic> constructor

Tween<T extends dynamic>({
  1. T? begin,
  2. T? end,
})

Creates a tween that linearly interpolates between begin and end.

Implementation

Tween({this.begin, this.end});