OptionalconfirmText of the confirm button, or a translation key.
OptionalmessageText of the message, or a translation key.
OptionalonCalled when the dialog is cancelled.
OptionalonCalled when the confirm button is clicked.
OptionaltitleTitle of the dialog, or a translation key.
Options of UI.showWarningMessage.