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
onPressed OnNotificationPressed?
getter/setter pair

Static Methods

initializeLocalNotification({OnNotificationPressed? onNotificationPressed, required String icon}) → dynamic
notificationTapBackground(NotificationResponse notificationResponse) → void
showNotification({required RemoteNotification notification, Map<String, dynamic>? payload, String? icon}) → dynamic