ConfirmationModal constructor

const ConfirmationModal({
  1. Key? key,
  2. required String title,
  3. required String message,
  4. required VoidCallback onValidate,
  5. required VoidCallback onCancel,
  6. String? validateButtonLabel,
  7. String? cancelButtonLabel,
  8. bool? isDisabledValidateButton,
  9. bool? isDisabledCancelButton,
  10. bool? isDisabledCloseIcon,
  11. bool isLoading = false,
  12. String? loadingTitle,
  13. String? loadingMessage,
})

Implementation

const ConfirmationModal({
  super.key,
  required this.withLogo,
  required this.title,
  required this.message,
  required this.onValidate,
  required this.onCancel,
  this.validateButtonLabel,
  this.cancelButtonLabel,
  this.isDisabledValidateButton,
  this.isDisabledCancelButton,
  this.isDisabledCloseIcon,
  this.isLoading = false,
  this.loadingTitle,
  this.loadingMessage,
});