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