local_notifications/ny_local_notifications library

Classes

AndroidNotificationConfig
Configuration options specific to Android notifications.
IOSNotificationConfig
Configuration options specific to iOS notifications.
LocalNotification
A class for creating and sending local notifications on iOS and Android.
NotificationAttachment
Represents an attachment for a notification.

Functions

localNotification(String title, String body) LocalNotification
Creates a new LocalNotification with the given title and body.
pushNotification(String title, String body) LocalNotification
Creates a new LocalNotification with the given title and body.

Typedefs

PushNotification = LocalNotification
Backwards compatibility alias for LocalNotification.
PushNotificationAttachments = NotificationAttachment
Backwards compatibility alias for NotificationAttachment.

Exceptions / Errors

NotificationException
Exception thrown when a notification operation fails.