copyWith method

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

Implementation

ZeroAlertDialogStyle copyWith({
  TextStyle? titleTextStyle,
  TextStyle? contentTextStyle,
  Color? barrierColor,
  EdgeInsetsGeometry? actionsPadding,
  EdgeInsetsGeometry? titlePadding,
  EdgeInsetsGeometry? contentPadding,
  EdgeInsetsGeometry? iconPadding,
  double? elevation,
  Color? backgroundColor,
  Color? shadowColor,
  Color? iconColor,
  AlignmentGeometry? alignment,
  ShapeBorder? shape,
}) =>
    ZeroAlertDialogStyle(
      titleTextStyle: titleTextStyle ?? this.titleTextStyle,
      contentTextStyle: contentTextStyle ?? this.contentTextStyle,
      barrierColor: barrierColor ?? this.barrierColor,
      actionsPadding: actionsPadding ?? this.actionsPadding,
      titlePadding: titlePadding ?? this.titlePadding,
      contentPadding: contentPadding ?? this.contentPadding,
      iconPadding: iconPadding ?? this.iconPadding,
      elevation: elevation ?? this.elevation,
      backgroundColor: backgroundColor ?? this.backgroundColor,
      shadowColor: shadowColor ?? this.shadowColor,
      iconColor: iconColor ?? this.iconColor,
      alignment: alignment ?? this.alignment,
      shape: shape ?? this.shape,
    );