lerp method

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

Implementation

@useResult
FBottomNavigationBarItemStyle lerp(FBottomNavigationBarItemStyle other, double t) => FBottomNavigationBarItemStyle(
  iconStyle: FWidgetStateMap.lerpIconThemeData(iconStyle, other.iconStyle, t),
  textStyle: FWidgetStateMap.lerpTextStyle(textStyle, other.textStyle, t),
  padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
  spacing: lerpDouble(spacing, other.spacing, t) ?? spacing,
  tappableStyle: tappableStyle.lerp(other.tappableStyle, t),
  focusedOutlineStyle: focusedOutlineStyle.lerp(other.focusedOutlineStyle, t),
);