ConfirmDialogComponent constructor

const ConfirmDialogComponent({
  1. Key? key,
  2. required String? title,
  3. required String? content,
  4. required String? cancelText,
  5. required String? confirmText,
  6. required dynamic onCancel()?,
  7. required dynamic onConfirm()?,
})

Implementation

const ConfirmDialogComponent({
  Key? key,
  required this.title,
  required this.content,
  required this.cancelText,
  required this.confirmText,
  required this.onCancel,
  required this.onConfirm,
}) : super(key: key);