/local_notifier

This plugin allows Flutter desktop apps to notify local notifications.

Primary LanguageC++MIT LicenseMIT

local_notifier

Installation

Add this to your package's pubspec.yaml file:

dependencies:
  git:
   url: https://github.com/nghuyy/local_notifier.git
   ref: main

⚠️ Linux requirements

  • libnotify

Run the following command

sudo apt-get install libnotify-dev

Usage

LocalNotification notification = LocalNotification(
  title: "local_notifier_example",
  subtitle: "subtitle",
  body: "hello flutter!",
);
await localNotifier.notify(notification);

API

LocalNotifier

Method Description Linux macOS Windows Anroid
notify Immediately shows the notification to the user. ✔️ ✔️ ✔️ ✔️

Related Links

License

MIT