UFUConfirmationDialog constructor
const
UFUConfirmationDialog({
- Key? key,
- required String? title,
- String? subTitle,
- Color? subTitleColor,
- String? prefixBtnText = 'Cancel',
- String? suffixBtnText = '',
- VoidCallback? onTapPrefix,
- VoidCallback? onTapSuffix,
- IconData? icon,
- double? iconSize,
- UFUConfirmationDialogType type = UFUConfirmationDialogType.message,
- bool disableButtons = false,
- Widget? suffixBtnIcon,
- Widget? content,
- UFUButtonColorType? prefixBtnColorType,
- VoidCallback? onTapIcon,
Implementation
const UFUConfirmationDialog({
super.key,
required this.title,
this.subTitle,
this.subTitleColor,
this.prefixBtnText = 'Cancel',
this.suffixBtnText = '',
this.onTapPrefix,
this.onTapSuffix,
this.icon,
this.iconSize,
this.type = UFUConfirmationDialogType.message,
this.disableButtons = false,
this.suffixBtnIcon,
this.content,
this.prefixBtnColorType,
this.onTapIcon,
});