lerp method
Linearly interpolate between this and another FDialogContentStyle using the given factor t
.
Implementation
@useResult
FDialogContentStyle lerp(FDialogContentStyle other, double t) => FDialogContentStyle(
titleTextStyle: TextStyle.lerp(titleTextStyle, other.titleTextStyle, t) ?? titleTextStyle,
bodyTextStyle: TextStyle.lerp(bodyTextStyle, other.bodyTextStyle, t) ?? bodyTextStyle,
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
actionSpacing: lerpDouble(actionSpacing, other.actionSpacing, t) ?? actionSpacing,
);