CustomAlertDialog constructor
CustomAlertDialog({
- required String title,
- required String message,
- required String background,
- double circularBorderRadius = 15.0,
- String? positiveButtonText,
- String? negativeButtonText,
- Function? onPositivePressed,
- Function? onNegativePressed,
- required String fontFamily,
- required Color fontColor,
- required double fontSize,
- required Color secondaryFontColor,
- required String titleBox,
- required double buttonWidth,
- 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,
});