flutter_local_notifications_platform_interface library Null safety

Classes

ActiveNotification
Details of an active notification.
FlutterLocalNotificationsPlatform
The interface that all implementations of flutter_local_notifications must implement.
NotificationAppLaunchDetails
Contains details on the notification that launched the application.
NotificationResponse
Details of a Notification Action that was triggered.
PendingNotificationRequest
Details of a pending notification that has not been delivered.

Functions

validateId(int id) → void
Helper method for validating notification IDs. Ensures IDs are valid 32-bit integers.

Enums

NotificationResponseType
The possible notification response types
RepeatInterval
The available intervals for periodically showing notifications.

Typedefs

DidReceiveBackgroundNotificationResponseCallback = void Function(NotificationResponse details)
Signature of callback triggered on background isolate when a user taps on a notification or a notification action.
DidReceiveNotificationResponseCallback = void Function(NotificationResponse details)
Signature of callback triggered on main isolate when a user taps on a notification or a notification action.