window_close_guard 1.0.0 copy "window_close_guard: ^1.0.0" to clipboard
window_close_guard: ^1.0.0 copied to clipboard

Flutter package for safe window close handling on desktop with confirmation dialog support.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add window_close_guard

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

dependencies:
  window_close_guard: ^1.0.0

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:window_close_guard/window_close_guard.dart';
1
likes
160
points
137
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter package for safe window close handling on desktop with confirmation dialog support.

Repository (GitHub)
View/report issues
Contributing

Topics

#window #desktop #close #flutter #lifecycle

Documentation

API reference

License

MIT (license)

Dependencies

flutter, window_manager

More

Packages that depend on window_close_guard