Is it possible to programmatically hide or close a window (not minimize), but still keep the process alive? This is similar to the hide()
/show()
methods in Qt and this is the standard approach in order to minimize the app to the tray.
Add a comment
|
2 Answers
window_manager
is support show
& hide
window. you can try this.
-
1Please add further details to expand on your answer, such as working code or documentation citations.– Community BotSep 2, 2021 at 4:31
There are currently no Flutter APIs for controlling windows from Dart code. You would need to write native code to hide the window for the platform(s) you are interested in, and call it from Dart via platform channels.