ConfirmationDialogTexts constructor
const
ConfirmationDialogTexts({})
The texts for the confirmation dialog.
Implementation
const ConfirmationDialogTexts({
this.title,
this.message,
this.titleWidget,
this.messageWidget,
this.confirmButtonText,
this.cancelButtonText,
}) : assert(
(title != null && titleWidget == null) ||
(title == null && titleWidget != null),
"Either title or titleWidget must be provided, but not both.",
),
assert(
(message != null && messageWidget == null) ||
(message == null && messageWidget != null) ||
(message == null && messageWidget == null),
"Either message or messageWidget must be provided, but not both.",
);