3 ms·
I tried it out the other day after seeing this announcement. So, I created the default app and it ran fine. Then I wanted to add a menubar to the window, so I
by wayneftw 6y ago
I tried it out the other day after seeing this announcement.
So, I created the default app and it ran fine. Then I wanted to add a menubar to the window, so I found the Flutter menubar plugin, installed it and got it working.
My first menu items were _File -> E_xit. The Alt+ keyboard acceleration indeed worked on my system (Manjaro/XFCE) without any problem! However, as soon as I wanted to handle the "Exit" action I got stuck.
I searched around a bit but I could not find an answer. How do you exit a Flutter desktop app programatically?