lerp method

  1. @useResult
FRawTileContentStyle lerp(
  1. FRawTileContentStyle other,
  2. double t
)

Linearly interpolate between this and another FRawTileContentStyle using the given factor t.

Implementation

@useResult
FRawTileContentStyle lerp(FRawTileContentStyle other, double t) => .new(
  padding: .lerp(padding, other.padding, t) ?? padding,
  prefixIconStyle: .lerpIconThemeData(prefixIconStyle, other.prefixIconStyle, t),
  prefixIconSpacing: lerpDouble(prefixIconSpacing, other.prefixIconSpacing, t) ?? prefixIconSpacing,
  childTextStyle: .lerpTextStyle(childTextStyle, other.childTextStyle, t),
);