showToast static method

void showToast(
  1. String text
)

显示Toast提示

Implementation

static void showToast(String text) {
  if (text.trim().isNotEmpty) {
    ComToast.show(text.trim());
  }
}