lerp method
Linearly interpolate between this and another FRawItemContentStyle using the given factor t
.
Implementation
@useResult
FRawItemContentStyle lerp(FRawItemContentStyle other, double t) => FRawItemContentStyle(
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
prefixIconStyle: FWidgetStateMap.lerpIconThemeData(prefixIconStyle, other.prefixIconStyle, t),
prefixIconSpacing: lerpDouble(prefixIconSpacing, other.prefixIconSpacing, t) ?? prefixIconSpacing,
childTextStyle: FWidgetStateMap.lerpTextStyle(childTextStyle, other.childTextStyle, t),
);