Skip to content

prabhuc94/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