showText static method

Future showText(
  1. BuildContext context, {
  2. required String msg,
  3. int closeTime = _time,
})

文字toast

Implementation

static Future showText(
  BuildContext context, {
  required String msg,
  int closeTime = _time,
}) {
  return _showToast(context: context, msg: msg, stopEvent: true, closeTime: closeTime);
}