local_notifier 0.1.0 copy "local_notifier: ^0.1.0" to clipboard
local_notifier: ^0.1.0 copied to clipboard

outdated

This plugin allows Flutter desktop apps to notify local notifications.

local_notifier #

pub version

This plugin allows Flutter desktop apps to displaying local notifications.


English | 简体中文


Platform Support #

Linux macOS Windows
✔️ ✔️ ✔️

Quick Start #

Installation #

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

dependencies:
  local_notifier: ^0.1.0

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? #

API #

LocalNotifier #

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

License #

MIT

96
likes
0
pub points
96%
popularity

Publisher

verified publisherleanflutter.dev

This plugin allows Flutter desktop apps to notify local notifications.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, uuid

More

Packages that depend on local_notifier