ProAlertClassic constructor

const ProAlertClassic({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. EdgeInsets? titlePadding,
  5. EdgeInsets? contentPadding,
  6. double? buttonsHeight,
  7. String? title,
  8. double? titleFontSize,
  9. String? message,
  10. double? messageFontSize,
  11. String? button1Text,
  12. double? button1FontSize,
  13. Function? button1Function,
  14. String? button2Text,
  15. double? button2FontSize,
  16. Function? button2Function,
  17. double? alertBorderRadius,
  18. Color? colorAroundTheAlert,
  19. bool? closeAlertOnTapArround,
})

To show some information in an alert you can use this widget. It should be used where the return type is Widget

Implementation

const ProAlertClassic({
  super.key,
  this.width,
  this.height,
  this.titlePadding,
  this.contentPadding,
  this.buttonsHeight,
  this.title,
  this.titleFontSize,
  this.message,
  this.messageFontSize,
  this.button1Text,
  this.button1FontSize,
  this.button1Function,
  this.button2Text,
  this.button2FontSize,
  this.button2Function,
  this.alertBorderRadius,
  this.colorAroundTheAlert,
  this.closeAlertOnTapArround,
});