ConfirmationModal constructor
const
ConfirmationModal({
- Key? key,
- required bool withLogo,
- required String title,
- required String message,
- required VoidCallback onValidate,
- required VoidCallback onCancel,
- String? validateButtonLabel,
- String? cancelButtonLabel,
- bool? isDisabledValidateButton,
- bool? isDisabledCancelButton,
- bool? isDisabledCloseIcon,
- bool isLoading = false,
- String? loadingTitle,
- 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,
});