lerp method
Linearly interpolate between this and another FButtonContentStyle using the given factor t
.
Implementation
@useResult
FButtonContentStyle lerp(FButtonContentStyle other, double t) => FButtonContentStyle(
textStyle: FWidgetStateMap.lerpTextStyle(textStyle, other.textStyle, t),
iconStyle: FWidgetStateMap.lerpIconThemeData(iconStyle, other.iconStyle, t),
circularProgressStyle: t < 0.5 ? circularProgressStyle : other.circularProgressStyle,
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
spacing: lerpDouble(spacing, other.spacing, t) ?? spacing,
);