lerp method
Linearly interpolate with another Spec object.
Implementation
@override
SizedBoxModifierSpec lerp(SizedBoxModifierSpec? other, double t) {
return SizedBoxModifierSpec(
width: lerpDouble(width, other?.width, t),
height: lerpDouble(height, other?.height, t),
);
}