lerp method
Linearly interpolate between this and another FSwitchStyle using the given factor t.
Implementation
@useResult
FSwitchStyle lerp(FSwitchStyle other, double t) => .new(
focusColor: FColors.lerpColor(focusColor, other.focusColor, t) ?? focusColor,
trackColor: .lerpColor(trackColor, other.trackColor, t),
thumbColor: .lerpColor(thumbColor, other.thumbColor, t),
leadingLabelStyle: leadingLabelStyle.lerp(other.leadingLabelStyle, t),
trailingLabelStyle: trailingLabelStyle.lerp(other.trailingLabelStyle, t),
);