showToast static method

dynamic showToast(
  1. dynamic text
)

Implementation

static showToast(text) {
  if (text == null || text.toString().isEmpty) return;
  BotToast.showText(
    text: text.toString(),
    align: Alignment.center,
  );
}