lerp method
Linearly interpolate between this and another FRadioStyle using the given factor t
.
Implementation
@useResult
FRadioStyle lerp(FRadioStyle other, double t) => FRadioStyle(
tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
borderColor: FWidgetStateMap.lerpColor(borderColor, other.borderColor, t),
backgroundColor: FWidgetStateMap.lerpColor(backgroundColor, other.backgroundColor, t),
indicatorColor: FWidgetStateMap.lerpColor(indicatorColor, other.indicatorColor, t),
motion: motion.lerp(other.motion, t),
labelPadding: EdgeInsetsGeometry.lerp(labelPadding, other.labelPadding, t) ?? labelPadding,
descriptionPadding: EdgeInsetsGeometry.lerp(descriptionPadding, other.descriptionPadding, t) ?? descriptionPadding,
errorPadding: EdgeInsetsGeometry.lerp(errorPadding, other.errorPadding, t) ?? errorPadding,
childPadding: EdgeInsetsGeometry.lerp(childPadding, other.childPadding, t) ?? childPadding,
labelTextStyle: FWidgetStateMap.lerpTextStyle(labelTextStyle, other.labelTextStyle, t),
descriptionTextStyle: FWidgetStateMap.lerpTextStyle(descriptionTextStyle, other.descriptionTextStyle, t),
errorTextStyle: TextStyle.lerp(errorTextStyle, other.errorTextStyle, t) ?? errorTextStyle,
);