fallback static method

ZeroAlertDialogStyle fallback({
  1. TextStyle? titleTextStyle,
  2. TextStyle? contentTextStyle,
  3. Color? barrierColor,
  4. EdgeInsetsGeometry? actionsPadding,
  5. EdgeInsetsGeometry? titlePadding,
  6. EdgeInsetsGeometry? contentPadding,
  7. EdgeInsetsGeometry? iconPadding,
  8. double elevation = 4,
  9. Color? backgroundColor,
  10. Color? shadowColor,
  11. Color? iconColor,
  12. AlignmentGeometry? alignment,
  13. ShapeBorder? shape,
})

Implementation

static ZeroAlertDialogStyle fallback({
  TextStyle? titleTextStyle,
  TextStyle? contentTextStyle,
  Color? barrierColor,
  EdgeInsetsGeometry? actionsPadding,
  EdgeInsetsGeometry? titlePadding,
  EdgeInsetsGeometry? contentPadding,
  EdgeInsetsGeometry? iconPadding,
  double elevation = 4,
  Color? backgroundColor,
  Color? shadowColor,
  Color? iconColor,
  AlignmentGeometry? alignment,
  ShapeBorder? shape,
}) =>
    ZeroAlertDialogStyle(
      titleTextStyle: titleTextStyle,
      contentTextStyle: contentTextStyle,
      barrierColor: barrierColor ?? Colors.black54,
      actionsPadding: actionsPadding ??
          const EdgeInsets.only(bottom: 16, right: 16, left: 16),
      titlePadding: titlePadding,
      contentPadding: contentPadding,
      iconPadding: iconPadding,
      elevation: elevation,
      backgroundColor: backgroundColor,
      shadowColor: shadowColor,
      iconColor: iconColor,
      alignment: alignment,
      shape: shape,
    );