AlertDialogWidget constructor

const AlertDialogWidget({
  1. Key? key,
  2. double dialogRadius = 0,
  3. Widget? icon,
  4. String? title,
  5. String? subtitle,
  6. Widget? primaryButtonIcon,
  7. String? primaryButtonText,
  8. VoidCallback? onPrimaryButtonPressed,
  9. required TextStyle primaryButtonTextStyle,
  10. Color primaryButtonBgColor = ModuleColors.whiteGradientOne,
  11. Widget? secondaryButtonIcon,
  12. String? secondaryButtonText,
  13. VoidCallback? onSecondaryButtonPressed,
  14. TextStyle? secondaryButtonTextStyle,
  15. Color secondaryButtonBgColor = ModuleColors.whiteGradientOne,
  16. 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,
});