eyflutter_notifications library

Author lijinghuan Email:ljh0576123@163.com CreateTime:2023-02-05 Description:Generated file. Do not edit. Modifier: ModifyContent:

Classes

AndroidBitmap<T>
Represents a bitmap on Android.
AndroidFlutterLocalNotificationsPlugin
Android implementation of the local notifications plugin.
AndroidIcon<T>
Represents an icon on Android.
AndroidInitializationSettings
Plugin initialization settings for Android.
AndroidNotificationAction
Mirrors the Action class in AndroidX.
AndroidNotificationActionInput
Mirrors the RemoteInput functionality available in NotificationCompat.
AndroidNotificationCategory
The available categories for Android notifications.
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.
AndroidServiceForegroundType
The available foreground types for an Android service.
AndroidServiceStartType
The available start types for an Android service.
AudioAttributesUsage
The available audio attributes usages for an Android service.
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.
ByteArrayAndroidBitmap
Represents a base64 encoded AndroidBitmap.
ByteArrayAndroidIcon
Represents a bitmap asset belonging to the Flutter application 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.
DarwinInitializationSettings
Plugin initialization settings for Darwin-based operating systems such as iOS and macOS
DarwinNotificationAction
Describes the notification action itself.
DarwinNotificationAttachment
Represents an attachment for a notification on Darwin-based operation systems such as iOS and macOS
DarwinNotificationAttachmentThumbnailClippingRect
Represents the clipping rectangle used for the thumbnail image.
DarwinNotificationCategory
Corresponds to the UNNotificationCategory type which is used to configure notification categories and accompanying options.
DarwinNotificationDetails
Configures notification details specific to Darwin-based operation systems such as iOS and macOS
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.
InterruptionLevel
Constants that indicate the importance and delivery timing of a notification.
IOSFlutterLocalNotificationsPlugin
iOS implementation of the local notifications plugin.
MacOSFlutterLocalNotificationsPlugin
macOS implementation of the local notifications plugin.
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.
MethodChannelFlutterLocalNotificationsPlugin
An implementation of a local notifications platform using method channels.
NotificationDetails
Contains notification details specific to each platform.
NotificationUtils
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

AndroidBitmapSource
Specifies the source for a bitmap used by Android notifications.
AndroidIconSource
Specifies the source for icons.
AndroidNotificationChannelAction
The available actions for managing notification channels.
AndroidNotificationSoundSource
Specifies the source for a sound used by Android notifications.
AndroidNotificationStyle
The available notification styles on Android.
DarwinNotificationActionOption
Describes when & how the notification action is displayed.
DarwinNotificationActionType
Describes the notification action type.
DarwinNotificationCategoryOption
Desribes the options of each notification category.
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.
UILocalNotificationDateInterpretation
Describes how the fire date (date used to schedule a notification) of the UILocalNotification on iOS is interpreted.

Functions

callbackDispatcher() → void
validateDateIsInTheFuture(TZDateTime scheduledDate, DateTimeComponents? matchDateTimeComponents) → void
Helper method for validating a date/time value represents a future point in time where matchDateTimeComponents is null.

Typedefs

DidReceiveLocalNotificationCallback = void Function(int id, String? title, String? body, String? payload)
Signature of the callback that is triggered when a notification is shown whilst the app is in the foreground.