Reputation: 13
I have a flutter app that i published on play store. I download it on my acer chromebook and i see the window bar. I want to show a message when the user want to close the app by clicking on the X of the window bar. How can i do this in flutter?
Upvotes: 0
Views: 210
Reputation: 31
You can do it using the existing flutter_window_close package. Check out the example here.
This gives you the possibility to pop a confirmation to the user, and it works on Linux, windows, MacOS.
The is also this bitsdojo_window which gives you the possibility to customize your windows, manage confirmation dialog on app close button press and more...
Upvotes: 0