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