Pub Package

Allows notifications to be sent on Linux desktops using the desktop notifications specification.

import 'package:dbus/dbus.dart';
import 'package:desktop_notifications/desktop_notifications.dart';

var sessionBus = DBusClient.session();
var client = NotificationClient(sessionBus);
await client.notify('Hello World!');
await sessionBus.close();

Libraries

desktop_notifications