fallback static method
A default value style of ZeroSwitchStyle
Implementation
static ZeroSwitchStyle fallback({
Color? activeColor,
Color? inactiveColor,
Color? activeThumbColor,
Color? inactiveThumbColor,
double? thumbSize,
}) =>
ZeroSwitchStyle(
activeColor: activeColor ?? ZeroColors.primary,
inactiveColor: inactiveColor ?? ZeroColors.neutral[7],
thumbSize: thumbSize ?? 22,
activeThumbColor: activeThumbColor ?? ZeroColors.primary,
inactiveThumbColor: inactiveThumbColor ?? ZeroColors.neutral[1],
);