Tauri Plugin Toast
This plugin provides a simple way to show toast notifications in your Tauri application. This is a mobile-only plugin that supports Android platform.
Usage
import from '@bling-yshs/tauri-plugin-toast'
// Show a short toast message
await
// Show a long toast message
await
API
showToast(message: string, duration: 'short' | 'long' = 'short'): Promise<boolean>
Shows a toast notification with the specified message and duration.
message: The message to display in the toastduration: The duration for which the toast should be displayed ('short' or 'long')
Returns a promise that resolves to true if the toast was successfully displayed, false otherwise.