lerp method
Returns the value this variable has at the given animation clock value.
Implementation
@override
Rect lerp(double t) {
final elasticCurveValue = Curves.easeOut.transform(t);
return Rect.fromLTRB(
lerpDouble(begin?.left, end?.left, elasticCurveValue)!,
lerpDouble(begin?.top, end?.top, elasticCurveValue)!,
lerpDouble(begin?.right, end?.right, elasticCurveValue)!,
lerpDouble(begin?.bottom, end?.bottom, elasticCurveValue)!,
);
}