flutter_window_close
Let your Flutter app has a chance to confirm if the user wants to close your app.
1.3.0
11K downloads/mo
#2857 most downloaded on pub.dev
zonble/flutter_window_close
What this package is like to depend on
Last release 1 years ago
22 Jul 2025
Release timing varies
gaps range from 2 weeks to 1.6 years
Nearly every release is documented
notes for 10 of 10 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
10 releases · first in 2021
0 releases in the last 12 months
see the full history below
Release timeline
10 releases · Nov 2021 to Jul 2025
2022
2023
2024
2025
2026
Releases
latest 10-
1.3.022 Jul 2025Release notes
Open source →- Migrate to modern
webpackages for improved Flutter Web compatibility - Update all dependencies to their latest stable versions
- Raise minimum Flutter version to 3.22.0 for better stability
- Update CI to use Windows Server 2025 for improved testing
- Enhance code quality with flutter_lints 5.0.0
- Thanks to @vant3ch for the web packages migration
- Migrate to modern
-
1.2.025 Sep 2024Release notes
Open source →- Add full Swift Package Manager (SPM) support for easier iOS/macOS integration
- Restructure macOS implementation to support SPM
- Add dedicated SPM CI workflow for automated testing
- Update project structure for modern package management
-
1.1.008 Sep 2024Release notes
Open source →- Enhance the way active windows are determined on macOS for better reliability
- Update macOS example application with improved implementation
- Integrate Dependabot for automated dependency updates
- Update flutter_lints to 4.0.0 for better code quality
- Clean up and streamline CI settings
-
1.0.026 Nov 2023Release notes
Open source →- Prevent window closing only after the plugin is properly initialized
- Enhance stability and reliability across all platforms (Windows, macOS, Linux)
- Fix window closing prevention to work only after SDK initialization on Windows
- Major updates to continuous integration settings
- Improve code structure and documentation
-
0.3.025 Nov 2023Release notes
Open source →- Fix Linux plugin compatibility issues with Flutter 3.10 and above
- Update to use modern menu APIs for better future compatibility
- Update project dependencies to latest versions
- Enhance CI settings for better testing coverage
-
0.2.211 Apr 2022Release notes
Open source →- Allow setting the web return value to null for more flexible web implementations
- Update continuous integration settings
- Thanks to @doppio for the web return value enhancement
-
0.2.122 Feb 2022Release notes
Open source →- Fix critical issue where windows wouldn't close when the close message was sent after a delay on Windows
- Improve window reference handling in Windows plugin for better memory management
-
0.2.015 Dec 2021Release notes
Open source →- Add full support for Flutter Web applications
- Extend cross-platform support to Windows, macOS, Linux, and Web
- Update example applications with web support
- Enhance README files with web usage examples
- Clean up build artifacts and unused files
-
0.1.126 Nov 2021Release notes
Open source →- Comprehensive documentation improvements in README files
- Enhanced code documentation and API usage examples
- Update example applications with better implementations
-
0.1.026 Nov 2021Release notes
Open source →- Initial release with basic window close confirmation for desktop platforms
- Support for Windows, macOS, and Linux platforms
- Clean, simple API for handling window close events
- Complete example applications for all supported platforms
- Windows: Full implementation with proper window message handling
- macOS: Native Cocoa implementation for close button interception
- Linux: GTK-based implementation for window close confirmation
- Seamless integration with Flutter's plugin architecture