lerp method

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

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

Implementation

@useResult
FHeaderActionStyle lerp(FHeaderActionStyle other, double t) => FHeaderActionStyle(
  iconStyle: FWidgetStateMap.lerpIconThemeData(iconStyle, other.iconStyle, t),
  focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
  tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
);