lerp method
Linearly interpolate between this and another FStyle using the given factor t
.
Implementation
@useResult
FStyle lerp(FStyle other, double t) => FStyle(
formFieldStyle: formFieldStyle.lerp(other.formFieldStyle, t),
focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
iconStyle: IconThemeData.lerp(iconStyle, other.iconStyle, t),
borderRadius: BorderRadius.lerp(borderRadius, other.borderRadius, t) ?? borderRadius,
borderWidth: lerpDouble(borderWidth, other.borderWidth, t) ?? borderWidth,
pagePadding: EdgeInsets.lerp(pagePadding, other.pagePadding, t) ?? pagePadding,
shadow: BoxShadow.lerpList(shadow, other.shadow, t) ?? shadow,
tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
);