alerts/src/toast_notification
library
Functions
-
showToastNotification(BuildContext context, {String id = 'success', String? title, String? description, Duration? duration, ToastNotificationPosition? position, ToastAnimation? animation, VoidCallback? action, VoidCallback? onDismiss, VoidCallback? onShow})
→ void
-
Display a new Toast notification to the user.
Provide a valid toast
id (e.g., "success", "warning", "info", "danger")
or a custom ID registered via Nylo.addToastNotifications.
Set a title and description to personalize the message.