ExceptionDialog constructor

const ExceptionDialog({
  1. Key? key,
  2. required String code,
  3. required String message,
  4. required VoidCallback onConfirm,
  5. StringEnum? customTitle,
  6. StringEnum? customConfirmText,
  7. bool showErrorCode = true,
  8. bool showErrorMessageTitle = false,
})

Implementation

const ExceptionDialog({
  super.key,
  required this.code,
  required this.message,
  required this.onConfirm,
  this.customTitle,
  this.customConfirmText,
  this.showErrorCode = true,
  this.showErrorMessageTitle = false,
});