lerp method
Returns the value this variable has at the given animation clock value.
Implementation
@override
Rect lerp(double t) {
final centerLoc = centerTween.transform(t);
return Rect.fromCenter(
center: centerLoc,
width: widthTween.lerp(t),
height: heightTween.lerp(t));
}