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