ExtendedAlertDialog constructor

const ExtendedAlertDialog({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. String? confirmText,
  5. String? cancelText,
  6. VoidCallback? onConfirm,
  7. VoidCallback? onCancel,
  8. bool? center,
  9. Color? confirmColor,
  10. Color? cancelColor,
  11. TextStyle? titleStyle,
  12. TextStyle? messageStyle,
  13. TextStyle? confirmStyle,
  14. TextStyle? cancelStyle,
})

Implementation

const ExtendedAlertDialog({
  super.key,
  this.title,
  required this.message,
  this.confirmText,
  this.cancelText,
  this.onConfirm,
  this.onCancel,
  this.center,
  this.confirmColor,
  this.cancelColor,
  this.titleStyle,
  this.messageStyle,
  this.confirmStyle,
  this.cancelStyle,
});