Skip to content

kwang87/active_window

 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 41.1%
  • CMake 30.2%
  • Dart 18.8%
  • Swift 5.6%
  • C 3.4%
  • Ruby 0.9%