active_window 0.0.3 copy "active_window: ^0.0.3" to clipboard
active_window: ^0.0.3 copied to clipboard

Plugin to detect active window

active_window #

Plugin to detect active window

Usage #

A simple usage example:

import 'package:active_window/auto_active_window.dart';

main() {
  final windowInfo = await ActiveWindow().getActiveWindow();

  // or with observer
  final windowObserver = AutoActiveWindowInfo()
      ..windowStream.listen((event) {
        print(event);
      });
    windowObserver.startService();
}

Install #

flutter pub add active_window

1
likes
130
points
103
downloads

Publisher

unverified uploader

Weekly Downloads

Plugin to detect active window

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on active_window