lerp method
Linearly interpolate between this and another FButtonStyle using the given factor t
.
Implementation
@useResult
FButtonStyle lerp(FButtonStyle other, double t) => FButtonStyle(
decoration: FWidgetStateMap.lerpBoxDecoration(decoration, other.decoration, t),
contentStyle: contentStyle.lerp(other.contentStyle, t),
iconContentStyle: iconContentStyle.lerp(other.iconContentStyle, t),
tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
);