UdAlertWidget constructor
UdAlertWidget({
- String? title,
- double? titleFontSize,
- String? message,
- double? messageFontSize,
- String? button1Text,
- double? button1FontSize,
- Function? button1Function,
- String? button2Text,
- double? button2FontSize,
- Function? button2Function,
- double? alertBorderRadius,
- Color? colorAroundTheAlert,
- 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,
});