StormyDialogConfig constructor
const
StormyDialogConfig({
- Color? backgroundColor,
- double? borderRadius,
- TextStyle? titleStyle,
- TextStyle? messageStyle,
- ButtonStyle? confirmButtonStyle,
- ButtonStyle? cancelButtonStyle,
- String confirmText = '确认',
- String cancelText = '取消',
- Color? barrierColor,
- bool barrierDismissible = false,
Implementation
const StormyDialogConfig({
this.backgroundColor,
this.borderRadius,
this.titleStyle,
this.messageStyle,
this.confirmButtonStyle,
this.cancelButtonStyle,
this.confirmText = '确认',
this.cancelText = '取消',
this.barrierColor,
this.barrierDismissible = false,
});