fallback static method
Implementation
static ZeroSnackbarStyle fallback(
{Color? backgroundColor, TextStyle? textStyle}) {
return ZeroSnackbarStyle(
backgroundColor: backgroundColor ?? ZeroColors.neutral[2],
border: BorderSide.none,
closeIcon: const Icon(ZeroIcons.close),
duration: const Duration(seconds: 2),
textStyle: textStyle ?? const TextStyle(fontSize: 14),
padding: const EdgeInsets.all(16),
margin: const EdgeInsets.symmetric(vertical: 48, horizontal: 16),
borderRadius: BorderRadius.circular(4),
elevation: 4,
);
}