tweenTo method

IntTween tweenTo(
  1. int end
)

Returns a IntTween from this value to the given end value

Example:

100.tweenTo(200) // Tween(begin: 100, end: 200);

Implementation

IntTween tweenTo(int end) {
  return IntTween(begin: this, end: end);
}