lerp method
Linearly interpolate with another Spec object.
Implementation
@override
AlignModifierSpec lerp(AlignModifierSpec? other, double t) {
return AlignModifierSpec(
alignment: AlignmentGeometry.lerp(alignment, other?.alignment, t),
widthFactor: lerpDouble(widthFactor, other?.widthFactor, t),
heightFactor: lerpDouble(heightFactor, other?.heightFactor, t),
);
}