flutter_local_smart_notifications library

Public API for the Flutter Local Smart Notifications package.

Classes

ChannelNotRegisteredFailure
The notification references a channel that is not configured.
ExactAlarmPermissionFailure
Exact alarm permission is unavailable for an exact schedule.
InvalidNotificationConfigurationFailure
The supplied notification configuration is invalid.
NotificationAction
Describes an action a user can select from a notification.
NotificationChannelConfig
Defines the Android notification channel used by a notification.
NotificationConfig
Configuration shared by the local notification service.
NotificationFailure
Describes a recoverable failure returned by a notification operation.
NotificationFailureResult<T>
Failed result containing a typed NotificationFailure.
NotificationLifecycleFailure
An operation conflicts with the active service lifecycle.
NotificationPayload
Content and display options for a local notification.
NotificationPermissionStatus
Describes the app's current notification permission state.
NotificationResult<T>
Result returned by a notification service operation.
NotificationService
Coordinates local notification permissions, display, and scheduling.
NotificationSuccess<T>
Successful result containing a value of type T.
NotInitializedFailure
An operation was attempted before initialization completed.
PastTimeFailure
A notification was scheduled for a time in the past.
PermissionConfig
Configures permission requests and their optional explanatory dialog.
PermissionDenied
Notification permission was denied but may be requested again.
PermissionGranted
Notification permission has been granted.
PermissionNotDetermined
Permission has not yet been requested from the user.
PermissionNotGrantedFailure
The operating system has not granted notification permission.
PermissionPermanentlyDenied
Notification permission was denied and cannot be requested again directly.
PermissionProvisional
Notifications are allowed provisionally by the operating system.
PermissionRequestCancelledFailure
A permission prompt was cancelled because its owning screen was closed.
PermissionRestricted
The operating system restricts notification permission for this app.
PlatformLimitExceededFailure
The platform has reached its pending-notification capacity.
ProviderInitializationFailure
A notification provider failed while starting.
ProviderNotEnabledFailure
An operation requires a feature that is disabled in the configuration.
ReminderConfig
Sets reminder limits and scheduling behavior.
ReminderLimitExceededFailure
The configured maximum number of active reminders has been reached.
ReminderNotFoundFailure
The requested reminder identifier does not exist.
ReminderNotification
Describes an immediate or scheduled reminder notification.
RoutingEvent
Describes how a notification interaction should be routed in the app.
ScheduledNotification
Describes a notification scheduled for a future time.
SchedulingFailure
A notification could not be scheduled.
StorageReadFailure
Notification data could not be read from storage.
StorageWriteFailure
Notification data could not be written to storage.
UnknownFailure
A failure that does not have a more specific failure type.
UnsupportedPlatformFailure
The current platform does not support the requested operation.

Enums

ChannelImportance
Controls how prominently a notification channel is presented on Android.
LogLevel
Minimum severity of messages emitted by the notification logger.
NotificationFeature
A local notification feature that can be enabled in NotificationConfig.
NotificationInteraction
User or system interaction that produced a RoutingEvent.
NotificationScheduleSemantics
Defines how a scheduled time behaves when the device timezone changes.
NotificationSource
Kind of notification that produced a RoutingEvent.
RepeatInterval
Recurrence interval for a scheduled notification.

Typedefs

NotificationProvider = NotificationFeature
Compatibility alias for NotificationFeature.