BottomAlertDialog.multiButton constructor

BottomAlertDialog.multiButton(
  1. {required Widget title,
  2. required Widget body,
  3. required List<BottomAlertDialogAction> buttons,
  4. List<BottomAlertDialogAction>? actions,
  5. bool? closeButton}
)

Implementation

factory BottomAlertDialog.multiButton({
  required Widget title,
  required Widget body,
  required List<BottomAlertDialogAction> buttons,
  List<BottomAlertDialogAction>? actions,
  bool? closeButton,
}) =>
    BottomAlertDialog._(
      closeButton: closeButton,
      buttons: buttons,
      actions: actions,
      body: (context) => Column(
        children: [
          Padding(
            padding: const EdgeInsets.symmetric(
              horizontal: 20,
            ),
            child: title,
          ),
          Padding(
            padding: const EdgeInsets.only(top: 20, left: 20, right: 20),
            child: body,
          ),
        ],
      ),
    );