showInfo static method

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

警告toast

Implementation

static Future showInfo(
  BuildContext context, {
  required String msg,
  int closeTime = _time,
}) {
  Widget img = Icon(Icons.info_outline, size: _imgWH, color: _contentColor);
  return _showToast(context: context, msg: msg, image: img, stopEvent: true, closeTime: closeTime);
}