ConfirmDialogConfig constructor
const
ConfirmDialogConfig({
- String? title,
- String? message,
- String confirmLabel = 'Yes',
- String cancelLabel = 'Cancel',
- FontWeight titleFontWeight = FontWeight.w700,
- FontWeight messageFontWeight = FontWeight.w400,
- FontWeight buttonFontWeight = FontWeight.w600,
Implementation
const ConfirmDialogConfig({
this.title,
this.message,
this.confirmLabel = 'Yes',
this.cancelLabel = 'Cancel',
this.titleFontWeight = FontWeight.w700,
this.messageFontWeight = FontWeight.w400,
this.buttonFontWeight = FontWeight.w600,
});