dotup_flutter_active_window 0.1.1
dotup_flutter_active_window: ^0.1.1 copied to clipboard
A flutter plugin to get active foreground window on MacOS, Windows and Linux.
dotup_flutter_active_window #
A flutter plugin to get active foreground window on MacOS, Windows and Linux.
Usage #
A simple usage example:
import 'package:dotup_flutter_active_window/dotup_flutter_active_window.dart';
main() {
final windowInfo = await DotupFlutterActiveWindow.getActiveWindowInfo;
// or with observer
final filterFromDb = ActiveWindowFilter(value: 'dotup_', field: ActiveWindowProperty.title);
final windowObserver = ActiveWindowObserver()
..addFilter((windowInfo) => windowInfo?.title.contains('main') == false)
..addFilter(ActiveWindowFilterGenerator().generate(filterFromDb))
..listen((event) {
print(event);
});
windowObserver.start();
}
Install #
flutter pub add dotup_flutter_active_window
Links #
dotup_flutter_themed on pub.dev #
Other widgets on pub.dev #
Other open source flutter projects on Github #
Other open source dart projects on Github #
Flutter simulator | DFFP3 #
Go to https://flutter-apps.ml and check out the awesome flutter simulator !
dotup IT solutions #