infoToast static method

void infoToast(
  1. BuildContext context,
  2. String msg, {
  3. WiseToastLength toastLength = WiseToastLength.short,
})

信息Toast

Implementation

static void infoToast(BuildContext context, String msg,
    {WiseToastLength toastLength = WiseToastLength.short}) {
  _toast(
    context,
    msg,
    prefix: Icon(
      Icons.info_outline,
      color: Colors.blue,
      size: 24.w,
    ),
    toastLength: toastLength,
  );
}