UFUConfirmationDialog constructor

const UFUConfirmationDialog({
  1. Key? key,
  2. required String? title,
  3. String? subTitle,
  4. Color? subTitleColor,
  5. String? prefixBtnText = 'Cancel',
  6. String? suffixBtnText = '',
  7. VoidCallback? onTapPrefix,
  8. VoidCallback? onTapSuffix,
  9. IconData? icon,
  10. double? iconSize,
  11. UFUConfirmationDialogType type = UFUConfirmationDialogType.message,
  12. bool disableButtons = false,
  13. Widget? suffixBtnIcon,
  14. Widget? content,
  15. UFUButtonColorType? prefixBtnColorType,
  16. 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,
  });