lerp method
Linearly interpolate between this and another FSliderMarkStyle using the given factor t.
Implementation
@useResult
FSliderMarkStyle lerp(FSliderMarkStyle other, double t) => .new(
tickColor: .lerpColor(tickColor, other.tickColor, t),
tickSize: lerpDouble(tickSize, other.tickSize, t) ?? tickSize,
labelTextStyle: .lerpTextStyle(labelTextStyle, other.labelTextStyle, t),
labelAnchor: .lerp(labelAnchor, other.labelAnchor, t) ?? labelAnchor,
labelOffset: lerpDouble(labelOffset, other.labelOffset, t) ?? labelOffset,
);