build method

  1. @override
Widget build(
  1. BuildContext context
)
override

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