lerp static method
Implementation
static ZeroNavigationDrawerStyle lerp(
ZeroNavigationDrawerStyle? a, ZeroNavigationDrawerStyle? b, double t) {
return ZeroNavigationDrawerStyle(
backgroundColor: Color.lerp(a?.backgroundColor, b?.backgroundColor, t),
headerTitleStyle:
TextStyle.lerp(a?.headerTitleStyle, b?.headerTitleStyle, t),
sectionTitleStyle:
TextStyle.lerp(a?.sectionTitleStyle, b?.sectionTitleStyle, t),
separatorDrawer:
(t < 0.5 ? a?.separatorDrawer : b?.separatorDrawer) ?? true,
shape: ShapeBorder.lerp(a?.shape, b?.shape, t),
width: t < 0.5 ? a?.width : b?.width,
);
}