showWidget method
void
showWidget({
- required Widget child,
- ToastPosition? position,
- Duration? duration,
- VoidCallback? onDismiss,
- bool? handleTouch,
显示组件toast
Implementation
void showWidget(
{required Widget child,
ToastPosition? position,
Duration? duration,
VoidCallback? onDismiss,
bool? handleTouch}) {
showToastWidget(child, position: position, duration: duration, onDismiss: onDismiss, handleTouch: handleTouch);
}