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();
}

dotup.de

Install #

flutter pub add dotup_flutter_active_window

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 !

Flutter simulator

dotup IT solutions #

0
likes
70
pub points
0%
popularity

Publisher

dotup.de

A flutter plugin to get active foreground window on MacOS, Windows and Linux.

Homepage
Repository (missing)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

dotup_dart_utils, flutter

More

Packages that depend on dotup_flutter_active_window