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