destroy method
Force closing the window, past setPreventClose.
Closing the app's last window ends the app, as the platform's runner decides.
Implementation
Future<void> destroy() async {
_isDestroying = true;
await close();
}
Force closing the window, past setPreventClose.
Closing the app's last window ends the app, as the platform's runner decides.
Future<void> destroy() async {
_isDestroying = true;
await close();
}