CustomAlertDialog constructor

CustomAlertDialog({
  1. required String title,
  2. required String message,
  3. required String background,
  4. double circularBorderRadius = 15.0,
  5. String? positiveButtonText,
  6. String? negativeButtonText,
  7. Function? onPositivePressed,
  8. Function? onNegativePressed,
  9. required String fontFamily,
  10. required Color fontColor,
  11. required double fontSize,
  12. required Color secondaryFontColor,
  13. required String titleBox,
  14. required double buttonWidth,
  15. required double buttonHeight,
})

Implementation

CustomAlertDialog({
  required this.title,
  required this.message,
  required this.background,
  this.circularBorderRadius = 15.0,
  this.positiveButtonText,
  this.negativeButtonText,
  this.onPositivePressed,
  this.onNegativePressed,
  required this.fontFamily,
  required this.fontColor,
  required this.fontSize,
  required this.secondaryFontColor,
  required this.titleBox,
  required this.buttonWidth,
  required this.buttonHeight,
});