SmoothAlertDialog constructor

const SmoothAlertDialog({
  1. required Widget body,
  2. String? title,
  3. Widget? leadingTitle,
  4. SmoothActionButton? positiveAction,
  5. SmoothActionButton? negativeAction,
  6. SmoothActionButton? neutralAction,
  7. Axis? actionsAxis,
  8. SmoothButtonsBarOrder? actionsOrder,
  9. bool close = false,
  10. EdgeInsets? margin,
  11. 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",
     );