notification_kit library

Unified notification scheduling with channels, priorities, and payload management

Classes

DeliveryBackend
Abstract interface for delivering notifications.
MemoryDeliveryBackend
A delivery backend that stores delivered notifications in memory.
Notification
A notification with a title, body, optional channel, priority, and payload.
NotificationChannel
A named channel that groups related notifications.
NotificationManager
High-level facade for scheduling, delivering, and managing notifications.
NotificationScheduler
Schedules notifications for future delivery and tracks their state.
NotificationStore
In-memory store for notifications with lookup by id, channel, and priority.
NotificationTemplate
A reusable notification template with {{variable}} placeholder substitution.
RateLimiter
Per-channel rate limiter for notification delivery.

Enums

DeliveryStatus
Status of notification delivery.
Importance
Importance level for a notification channel.
Priority
Priority level for a notification.

Typedefs

OnDeliverCallback = void Function(Notification notification)
Callback invoked when a notification is delivered.