local_notifier 0.0.1 local_notifier: ^0.0.1 copied to clipboard
This plugin allows Flutter desktop apps to notify local notifications.
local_notifier #
This plugin allows Flutter desktop apps to notify local notifications.
Platform Support #
Linux | macOS | Windows |
---|---|---|
✔️ | ✔️ | ➖ |
Quick Start #
Installation #
Add this to your package's pubspec.yaml file:
dependencies:
local_notifier: ^0.0.1
Or
dependencies:
local_notifier:
git:
url: https://github.com/leanflutter/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);
Please see the example app of this plugin for a full example.
Who's using it? #
- Biyi (比译) - A convenient translation and dictionary app written in dart / Flutter.
Discussion #
Welcome to join the discussion group to share your suggestions and ideas with me.
- WeChat Group 请添加我的微信
lijy91
,并备注LeanFlutter
- QQ Group
- Telegram Group
API #
LocalNotifier #
Method | Description | Linux | macOS | Windows |
---|---|---|---|---|
notify |
- | ✔️ | ✔️ | ➖ |