LocalNotification class

Constructors

LocalNotification()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

channel ↔ AndroidNotificationChannel
Create a AndroidNotificationChannel for heads up notifications
getter/setter pair
flutterLocalNotificationsPlugin → FlutterLocalNotificationsPlugin
Initialize the FlutterLocalNotificationsPlugin package.
final

Static Methods

initializeLocalNotification({void onNotificationPressed(Map<String, dynamic> data)?, required String icon}) → dynamic
onDidReceiveLocalNotification(int id, String? title, String? body, String? payload) Future
onDidReceiveNotificationResponse({required NotificationResponse notificationResponse, dynamic onData}) → void
showNotification({required RemoteNotification notification, Map<String, dynamic>? payload, String? icon}) → dynamic