showModal static method

void showModal(
  1. Widget content
)

Implementation

static void showModal(Widget content) {
  BotToast.showWidget(
    toastBuilder: (_) {
      return Material(
        color: Colors.black.withOpacity(0.0),
        child: content,
      );
    },
    groupKey: "modal",
  );
}