UdAlertWidget constructor

UdAlertWidget({
  1. String? title,
  2. double? titleFontSize,
  3. String? message,
  4. double? messageFontSize,
  5. String? button1Text,
  6. double? button1FontSize,
  7. Function? button1Function,
  8. String? button2Text,
  9. double? button2FontSize,
  10. Function? button2Function,
  11. double? alertBorderRadius,
  12. Color? colorAroundTheAlert,
  13. 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

UdAlertWidget({
  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,
});