system_windows 0.2.1 system_windows: ^0.2.1 copied to clipboard
Get opened windows and check which one of them is currently focused
A Flutter package that that enables support for system tray menu for desktop flutter apps.
system_windows is a simple flutter package for fetching list of opened windows on your desktop. Works with MacOS, Windows and Linux.
Icons of opened apps are only supported by MacOS.
🤔 How to use it? #
Install the package using
pubspec.yaml and then use it this way:
var systemWindows = SystemWindows(); final activeApps = await systemWindows.getActiveApps();
And that's it 🎉
Check out the example to see how we built the app that measures what window is most used by user 🔥
As simple as that. Feel free to contribute :)
Created with ❤️ by United Ideas Flutter Team