tweenTo method

Tween<int> tweenTo(
  1. int end
)

allows to create a tween that start with this value and ends with end value.

Implementation

Tween<int> tweenTo(int end) => Tween<int>(begin: this, end: end);