nghuyy / local_notifier

This plugin allows Flutter desktop apps to notify local notifications.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

This plugin allows Flutter desktop apps to notify local notifications.

License:MIT License


Languages

Language:C++ 73.2%Language:CMake 13.6%Language:Dart 4.3%Language:Java 2.8%Language:Swift 2.4%Language:C 2.1%Language:Ruby 1.6%