LinuxFlutterLocalNotificationsPlugin class Null safety

A stub implementation to satisfy compilation of multi-platform packages that depend on flutter_local_notifications_linux. This should never actually be created.

Notably, because flutter_local_notifications needs to manually register flutter_local_notifications_linux, anything with a transitive dependency on flutter_local_notifications will also depend on flutter_local_notifications_linux, not just at the pubspec level but the code level.

Inheritance

Constructors

LinuxFlutterLocalNotificationsPlugin()
Errors on attempted instantiation of the stub. It exists only to satisfy compile-time dependencies, and should never actually be created.

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

cancel(int id) Future<void>
Cancel/remove the notification with the specified id. [...]
inherited
cancelAll() Future<void>
Cancels/removes all notifications. This applies to notifications that have been scheduled and those that have already been presented.
inherited
getCapabilities() Future<LinuxServerCapabilities>
Errors on attempted calling of the stub. It exists only to satisfy compile-time dependencies, and should never actually be called.
getNotificationAppLaunchDetails() Future<NotificationAppLaunchDetails?>
Returns info on if a notification had been used to launch the application.
inherited
getSystemIdMap() Future<Map<int, int>>
Errors on attempted calling of the stub. It exists only to satisfy compile-time dependencies, and should never actually be called.
initialize(LinuxInitializationSettings initializationSettings, {SelectNotificationCallback? onSelectNotification}) Future<bool?>
Errors on attempted calling of the stub. It exists only to satisfy compile-time dependencies, and should never actually be called.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pendingNotificationRequests() Future<List<PendingNotificationRequest>>
Returns a list of notifications pending to be delivered/shown
inherited
periodicallyShow(int id, String? title, String? body, RepeatInterval repeatInterval) Future<void>
Periodically show a notification using the specified interval. For example, specifying a hourly interval means the first time the notification will be an hour after the method has been called and then every hour after that.
inherited
show(int id, String? title, String? body, {LinuxNotificationDetails? notificationDetails, String? payload}) Future<void>
Errors on attempted calling of the stub. It exists only to satisfy compile-time dependencies, and should never actually be called.
toString() String
A string representation of this object. [...]
inherited

Operators

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