widgets/sonner library

Classes

NotificationData
Data model for notifications
NotificationProvider
Provider for notifications
SonnerNotification
A notification instance that can be controlled

Enums

NotificationPriority
Priority levels for notifications
NotificationType
A simplified notification system for Flutter

Extensions

NotificationExtension on BuildContext
Extension to access notification data from context

Functions

showNotification({NotificationData? data, NotificationPriority priority = NotificationPriority.high, Alignment alignment = Alignment.bottomCenter, required Widget builder(BuildContext, NotificationData, SonnerNotification)}) SonnerNotification
Show a notification and return a controllable instance
showNotificationWithContext({required BuildContext context, NotificationData? data, NotificationPriority priority = NotificationPriority.high, Alignment alignment = Alignment.bottomCenter, required Widget builder(BuildContext, NotificationData, SonnerNotification)}) SonnerNotification
Show a notification and return a controllable instance