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