widgets/alerts/alert_function library

Functions

udAlertFunction({required BuildContext context, String? title, double? titleFontSize, String? message, double? messageFontSize, String? button1Text, double? button1FontSize, Function? button1Function, String? button2Text, double? button2FontSize, Function? button2Function, double? alertBorderRadius, bool? closeAlertOnTapArround, Color? colorAroundTheAlert}) Future<void>
To show some information in an alert you can use this function. It can not be used for Widget type return. For that you can use UdAlertWidget