flutter_desktop_notifications 1.0.0 copy "flutter_desktop_notifications: ^1.0.0" to clipboard
flutter_desktop_notifications: ^1.0.0 copied to clipboard

Native desktop notifications for Flutter. Windows toasts today, with actions, inputs, rich content, and activation callbacks. macOS and Linux planned.

1.0.0 #

First release of flutter_desktop_notifications, a fork and rewrite of windows_notification by mrtnetwork. Ships a Windows implementation today; macOS and Linux are planned.

  • Structured NotificationMessage.fromPluginTemplate with title, body, a small circle-cropped logo, a large image, and a hero image.
  • Action buttons and input fields (text or selection) built from Dart, with proper XML escaping. No hand-written markup needed for reply boxes or snooze lists. Buttons support success / critical styles and a context-menu placement.
  • Rich content: scenarios (reminder, alarm, incomingCall, urgent), short/long duration, attribution lines, extra styled text lines, system or looping NotificationAudio, an indeterminate or determinate NotificationProgress, and a displayTimestamp override.
  • WidgetToImage.toPng / toPngFile render any Flutter widget off-screen to a PNG, for dropping live-generated content into a toast's hero image.
  • NotificationMessage.fromCustomTemplate for shipping raw toast XML when the built-ins do not cover something.
  • Activation and dismissal callbacks via setCallback, carrying the original message, the action arguments, and any typed input.
  • Remove delivered toasts by id, by group, or all at once.
  • WindowsNotification.registerAumid writes the Start Menu shortcut Windows needs to attribute toasts to an unpackaged app's name and icon.
  • WindowsNotification.bringAppToForeground raises and un-minimizes the window, for the "Open" action in a callback.
1
likes
0
points
139
downloads

Publisher

verified publisherluminest.io

Weekly Downloads

Native desktop notifications for Flutter. Windows toasts today, with actions, inputs, rich content, and activation callbacks. macOS and Linux planned.

Homepage
Repository (GitHub)
View/report issues

Topics

#notifications #toast #desktop #windows #winrt

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on flutter_desktop_notifications

Packages that implement flutter_desktop_notifications