flutter_local_notifications library

Classes

ActiveNotification
Contains details on active Android notification that is currently displayed within the status bar.
AndroidBitmap
Represents a bitmap on Android.
AndroidFlutterLocalNotificationsPlugin
Android implementation of the local notifications plugin.
AndroidInitializationSettings
Plugin initialization settings for Android.
AndroidNotificationChannel
Settings for Android notification channels.
AndroidNotificationChannelGroup
A group of related Android notification channels.
AndroidNotificationDetails
Contains notification details specific to Android.
AndroidNotificationSound
Represents an Android notification sound.
BigPictureStyleInformation
Used to pass the content for an Android notification displayed using the big picture style.
BigTextStyleInformation
Used to pass the content for an Android notification displayed using the big text style.
BitmapFilePathAndroidIcon
Represents a file path to a bitmap that should be used for as an icon on Android.
ContentUriAndroidIcon
Represents a content URI that should be used for as an icon on Android.
Day
The days of the week.
DefaultStyleInformation
The default Android notification style.
DrawableResourceAndroidBitmap
Represents a drawable resource belonging to the Android application that should be used as a bitmap on Android.
DrawableResourceAndroidIcon
Represents a drawable resource belonging to the Android application that should be used as an icon on Android.
FilePathAndroidBitmap
Represents a file path that should be used for a bitmap on Android.
FlutterBitmapAssetAndroidIcon
Represents a bitmap asset belonging to the Flutter application that should be used for as an icon on Android.
FlutterLocalNotificationsPlugin
Provides cross-platform functionality for displaying local notifications. [...]
Importance
The available importance levels for Android notifications. [...]
InboxStyleInformation
Used to pass the content for an Android notification displayed using the inbox style.
InitializationSettings
Settings for initializing the plugin for each platform.
IOSFlutterLocalNotificationsPlugin
iOS implementation of the local notifications plugin.
IOSInitializationSettings
Plugin initialization settings for iOS.
IOSNotificationAttachment
Represents an attachment for an iOS notification.
IOSNotificationDetails
Configures notification details specific to iOS.
MacOSFlutterLocalNotificationsPlugin
macOS implementation of the local notifications plugin.
MacOSInitializationSettings
Plugin initialization settings for macOS.
MacOSNotificationAttachment
Represents an attachment for an macOS notification.
MacOSNotificationDetails
Configures notification details specific to macOS.
MediaStyleInformation
Used to pass the content for an Android notification displayed using the media style. [...]
Message
Represents a message used in Android messaging style notifications.
MessagingStyleInformation
Used to pass the content for an Android notification displayed using the messaging style.
NotificationAppLaunchDetails
Contains details on the notification that launched the application.
NotificationDetails
Contains notification details specific to each platform.
PendingNotificationRequest
Details of a pending notification that has not been delivered.
Person
Details of a person e.g. someone who sent a message.
Priority
Priority for notifications on Android 7.1 and lower.
RawResourceAndroidNotificationSound
Represents a raw resource belonging to the Android application that should be used for the notification sound. [...]
StyleInformation
Abstract class for defining an Android notification style
Time
Used for specifying a time in 24 hour format.
UriAndroidNotificationSound
Represents a URI on the Android device that should be used for the notification sound. [...]

Enums

AndroidNotificationChannelAction
The available actions for managing notification channels.
AndroidNotificationStyle
The available notification styles on Android.
DateTimeComponents
The components of a date and time representations.
GroupAlertBehavior
The available alert behaviours for grouped notifications.
NotificationVisibility
Defines the notification visibility on the lockscreen.
RepeatInterval
The available intervals for periodically showing notifications.
UILocalNotificationDateInterpretation
Describes how the fire date (date used to schedule a notification) of the UILocalNotification on iOS is interpreted. [...]

Typedefs

DidReceiveLocalNotificationCallback(int id, String title, String body, String payload) Future
Signature of the callback that is triggered when a notification is shown whilst the app is in the foreground. [...]
SelectNotificationCallback(String payload) Future
Signature of callback passed to initialize that is triggered when user taps on a notification.