toast method

Future<ExtendedOverlayEntry?> toast({
  1. ToastStyle? style,
  2. IconData? customIcon,
  3. ToastOptions? options,
})

toast 显示

Implementation

Future<ExtendedOverlayEntry?> toast(
        {ToastStyle? style, IconData? customIcon, ToastOptions? options}) =>
    Toast(toString(), options: options, customIcon: customIcon, style: style)
        .show();