StormyDialogConfig constructor

const StormyDialogConfig({
  1. Color? backgroundColor,
  2. double? borderRadius,
  3. TextStyle? titleStyle,
  4. TextStyle? messageStyle,
  5. ButtonStyle? confirmButtonStyle,
  6. ButtonStyle? cancelButtonStyle,
  7. String confirmText = '确认',
  8. String cancelText = '取消',
  9. Color? barrierColor,
  10. 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,
});