Search packages, repositories and app categories

Package detailsv0.6.3

desktop_notifications

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

Linux
30-day downloads
20.7K
Likes
81
Pub points
150

Install package

flutter pub add desktop_notifications

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The desktop_notifications package enables Flutter applications to send notifications on Linux desktops using the standard Desktop Notifications Specification. It integrates with the system's notification daemon, allowing apps to display pop-up alerts, banners, or tooltips directly on the user's desktop. This is particularly useful for background tasks, reminders, or status updates in Linux-based applications. The package is lightweight and designed specifically for Linux environments, ensuring compatibility with GNOME, KDE, and other desktop environments that support the D-Bus-based notification protocol.

Use cases

  • Sending system notifications from background services
  • Displaying app status updates on Linux
  • Alerting users about completed tasks
  • Integrating with Linux desktop environments
  • Providing real-time feedback in Linux apps

Key features

  • Linux-only desktop notification support
  • Uses standard D-Bus notification protocol
  • Simple API for sending notifications
  • Lightweight and minimal dependencies
  • Compatible with major Linux desktops

Suitable for

  • Linux-focused Flutter applications
  • Background services needing user alerts
  • Desktop utilities and tools
  • Apps requiring native Linux notifications
  • Developers targeting Linux desktop platforms

Considerations

  • Only works on Linux systems
  • Requires a compatible desktop environment with D-Bus
  • No support for Windows or macOS
  • Limited to notification display (no interaction handling)
  • Depends on system-level notification daemons being active

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Pub Package codecov

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

import 'package:desktop_notifications/desktop_notifications.dart';

var client = NotificationsClient();
await client.notify('Hello World!');
await client.close();

Contributing to desktop_notifications.dart

We welcome contributions! See the contribution guide for more details.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package