tweenTo method
Returns a ColorTween from this color to the given end
color
Example:
Colors.red.tweenTo(Colors.blue) // ColorTween(begin: Colors.red, end: Colors.blue);
Implementation
ColorTween tweenTo(Color end) {
return ColorTween(begin: this, end: end);
}