failToast static method
void
failToast(
- BuildContext context,
- String msg, {
- WiseToastLength toastLength = WiseToastLength.short,
失败Toast
Implementation
static void failToast(BuildContext context, String msg,
{WiseToastLength toastLength = WiseToastLength.short}) {
_toast(
context,
msg,
prefix: Icon(
Icons.error_outline,
color: Colors.red,
size: 24.w,
),
toastLength: toastLength,
);
}