AlertDialogWidget constructor
const
AlertDialogWidget({
- Key? key,
- double dialogRadius = 0,
- Widget? icon,
- String? title,
- String? subtitle,
- Widget? primaryButtonIcon,
- String? primaryButtonText,
- VoidCallback? onPrimaryButtonPressed,
- required TextStyle primaryButtonTextStyle,
- Color primaryButtonBgColor = ModuleColors.whiteGradientOne,
- Widget? secondaryButtonIcon,
- String? secondaryButtonText,
- VoidCallback? onSecondaryButtonPressed,
- TextStyle? secondaryButtonTextStyle,
- Color secondaryButtonBgColor = ModuleColors.whiteGradientOne,
- bool alignButtonVertical = false,
Implementation
const AlertDialogWidget({
super.key,
this.dialogRadius = 0,
this.icon,
this.title,
this.subtitle,
this.primaryButtonIcon,
this.primaryButtonText,
this.onPrimaryButtonPressed,
required this.primaryButtonTextStyle,
this.primaryButtonBgColor = ModuleColors.whiteGradientOne,
this.secondaryButtonIcon,
this.secondaryButtonText,
this.onSecondaryButtonPressed,
this.secondaryButtonTextStyle,
this.secondaryButtonBgColor = ModuleColors.whiteGradientOne,
this.alignButtonVertical = false,
});