lerp method
Linearly interpolate with another Spec object.
Implementation
@override
ClipRectModifierSpec lerp(ClipRectModifierSpec? other, double t) {
return ClipRectModifierSpec(
clipper: lerpSnap(clipper, other?.clipper, t),
clipBehavior:
lerpSnap(clipBehavior, other?.clipBehavior, t) ?? clipBehavior,
);
}