lerp static method
Implementation
static ZeroNavigationBarStyle lerp(
ZeroNavigationBarStyle? a, ZeroNavigationBarStyle? b, double t) {
return ZeroNavigationBarStyle(
backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
indicatorColor: Color.lerp(a?.indicatorColor, b?.indicatorColor, t),
unselectedColor: Color.lerp(a?.unselectedColor, b?.unselectedColor, t),
selectedColor: Color.lerp(a?.selectedColor, b?.selectedColor, t),
unselectedIconColor:
Color.lerp(a?.unselectedIconColor, b?.unselectedIconColor, t),
selectedIconColor:
Color.lerp(a?.selectedIconColor, b?.selectedIconColor, t),
height: t < 0.5 ? a?.height : b?.height,
indicatorType: t < 0.5 ? a?.indicatorType : b?.indicatorType,
);
}