2using System.Threading.Tasks;
3using Microsoft.Maui.Controls;
Options controlling toast presentation.
Service for presenting transient toast notifications.
EventHandler? ToastChanged
Event raised whenever the active toast changes.
bool HasActiveToast
Returns true if a toast is currently presented.
Task ShowAsync< TToast >(ToastOptions? Options=null)
Shows a toast view resolved from dependency injection.
Task HideAsync()
Hides the currently active toast, if any.
Task ShowAsync(View Toast, ToastOptions? Options=null)
Shows a toast view instance.