build method
Describes the part of the UI represented by this widget.
Implementation
@override
Widget build(BuildContext context) {
return AlertBox(
title: title,
message: message,
child: child,
variant: variant,
actions: actions,
padding:
padding ?? const EdgeInsets.symmetric(horizontal: 2, vertical: 1),
margin: margin,
border: Border.rounded,
);
}