TatweerConfirmationDialog constructor

const TatweerConfirmationDialog({
  1. Key? key,
  2. String? title,
  3. required String message,
  4. IconData? icon,
  5. Color? iconColor,
  6. String? confirmText,
  7. String? cancelText,
  8. VoidCallback? onConfirm,
  9. VoidCallback? onCancel,
  10. Color? confirmButtonColor,
  11. Widget? contentWidget,
})

Implementation

const TatweerConfirmationDialog({
  Key? key,
  this.title,
  required this.message,
  this.icon,
  this.iconColor,
  this.confirmText,
  this.cancelText,
  this.onConfirm,
  this.onCancel,
  this.confirmButtonColor,
  this.contentWidget,
}) : super(key: key);