xdg_status_notifier_item

Creator: coderz1093

Last updated:

0 purchases

xdg_status_notifier_item Image
xdg_status_notifier_item Images
Add to Cart

Description:

xdg status notifier item

Allows status notifications (i.e. system tray) on Linux desktops using the StatusNotifierItem specification.
import 'package:xdg_status_notifier_item/xdg_status_notifier_item.dart';

late final StatusNotifierItemClient client;

void main() async {
client = StatusNotifierItemClient(
id: 'test-client',
iconName: 'computer-fail-symbolic',
menu: DBusMenuItem(children: [
DBusMenuItem(label: 'Hello'),
DBusMenuItem(label: 'World', enabled: false),
DBusMenuItem.separator(),
DBusMenuItem(
label: 'Quit', onClicked: () async => await client.close()),
]));
await client.connect();
}
copied to clipboard
Contributing to xdg_status_notifier_item.dart #
We welcome contributions! See the contribution guide for more details.

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.