lerp method
Linearly interpolate between this and another FSelectGroupStyle using the given factor t
.
Implementation
@useResult
FSelectGroupStyle lerp(FSelectGroupStyle other, double t) => FSelectGroupStyle(
checkboxStyle: checkboxStyle.lerp(other.checkboxStyle, t),
radioStyle: radioStyle.lerp(other.radioStyle, t),
itemPadding: EdgeInsetsGeometry.lerp(itemPadding, other.itemPadding, t) ?? itemPadding,
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,
);