CDialog constructor

CDialog({
  1. Key? key,
  2. String? title,
  3. VoidCallback? onPressed,
  4. VoidCallback? onCanceled,
  5. String? text,
  6. CDialogType type = CDialogType.alert,
  7. String? confirmText,
  8. String? cancelText,
})

Implementation

CDialog({
  super.key,
  this.title,
  this.onPressed,
  this.onCanceled,
  this.text,
  this.type = CDialogType.alert,
  this.confirmText,
  this.cancelText,
});