SmoothAlertDialog constructor
const
SmoothAlertDialog({ - required Widget body,
- String? title,
- Widget? leadingTitle,
- SmoothActionButton? positiveAction,
- SmoothActionButton? negativeAction,
- SmoothActionButton? neutralAction,
- Axis? actionsAxis,
- SmoothButtonsBarOrder? actionsOrder,
- bool close = false,
- EdgeInsets? margin,
- EdgeInsetsDirectional? contentPadding,
})
Implementation
const SmoothAlertDialog({
required this.body,
this.title,
this.leadingTitle,
this.positiveAction,
this.negativeAction,
this.neutralAction,
this.actionsAxis,
this.actionsOrder,
this.close = false,
this.margin,
this.contentPadding,
}) : assert(
body is! LayoutBuilder,
"LayoutBuilder isn't supported with Dialogs",
);