I'm working on a desktop application with flutter (Windows), I need to set up an AlertDialog if the user tries to close the window with the close button.
If someone has an idea or even a solution, I'll take it :D
I have attached a reference image below.