windows_single_instance 1.0.1 copy "windows_single_instance: ^1.0.1" to clipboard
windows_single_instance: ^1.0.1 copied to clipboard

PlatformWindows

Forces a single instance of your Windows app, bringing the existing window to the front when a new instance is opened.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add windows_single_instance

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  windows_single_instance: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:windows_single_instance/windows_single_instance.dart';
38
likes
120
pub points
92%
popularity

Publisher

verified publishersongbook-pro.com

Forces a single instance of your Windows app, bringing the existing window to the front when a new instance is opened.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, flutter, win32

More

Packages that depend on windows_single_instance