fallback static method

ZeroSnackbarStyleSet fallback({
  1. TextStyle? textStyle,
  2. TextStyle? titleStyle,
  3. Color? snackbarBackgroundColor,
  4. Color? defaultDangerColor,
  5. Color? defaultWarningColor,
  6. Color? defaultInfoColor,
  7. Color? defaultSuccessColor,
})

Implementation

static ZeroSnackbarStyleSet fallback({
  TextStyle? textStyle,
  TextStyle? titleStyle,
  Color? snackbarBackgroundColor,
  Color? defaultDangerColor,
  Color? defaultWarningColor,
  Color? defaultInfoColor,
  Color? defaultSuccessColor,
}) {
  return ZeroSnackbarStyleSet(
    snackbar: ZeroSnackbarStyle.fallback(
      textStyle: textStyle,
      backgroundColor: snackbarBackgroundColor,
    ),
    alert: ZeroSnackbarAlertStyle.fallback(
      subtitleStyle: textStyle,
      titleStyle: titleStyle,
      defaultDangerColor: defaultDangerColor,
      defaultWarningColor: defaultWarningColor,
      defaultInfoColor: defaultInfoColor,
      defaultSuccessColor: defaultSuccessColor,
    ),
  );
}