lerp method
Linearly interpolate between this and another FBottomNavigationBarStyle using the given factor t
.
Implementation
@useResult
FBottomNavigationBarStyle lerp(FBottomNavigationBarStyle other, double t) => FBottomNavigationBarStyle(
decoration: BoxDecoration.lerp(decoration, other.decoration, t) ?? decoration,
backgroundFilter: t < 0.5 ? backgroundFilter : other.backgroundFilter,
padding: EdgeInsetsGeometry.lerp(padding, other.padding, t) ?? padding,
itemStyle: itemStyle.lerp(other.itemStyle, t),
);