lerp method
Linearly interpolate between this and another FCheckboxStyle using the given factor t.
Implementation
@useResult
FCheckboxStyle lerp(FCheckboxStyle other, double t) => .new(
tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
size: lerpDouble(size, other.size, t) ?? size,
iconStyle: .lerpIconThemeData(iconStyle, other.iconStyle, t),
decoration: .lerpBoxDecoration(decoration, other.decoration, t),
motion: motion.lerp(other.motion, t),
labelPadding: .lerp(labelPadding, other.labelPadding, t) ?? labelPadding,
descriptionPadding: .lerp(descriptionPadding, other.descriptionPadding, t) ?? descriptionPadding,
errorPadding: .lerp(errorPadding, other.errorPadding, t) ?? errorPadding,
childPadding: .lerp(childPadding, other.childPadding, t) ?? childPadding,
labelTextStyle: .lerpTextStyle(labelTextStyle, other.labelTextStyle, t),
descriptionTextStyle: .lerpTextStyle(descriptionTextStyle, other.descriptionTextStyle, t),
errorTextStyle: .lerp(errorTextStyle, other.errorTextStyle, t) ?? errorTextStyle,
);