google / flutter-desktop-embedding

Experimental plugins for Flutter for Desktop
Apache License 2.0
7.1k stars 607 forks source link

[window_size] Add show/hide functionality #828

Closed stuartmorgan closed 3 years ago

stuartmorgan commented 3 years ago

Adds 'setWindowVisibility' to show/hide the window.

Needs follow-up documentation; using it correctly for the resize-before-showing-window case is non-trivial on some platforms, and on macOS hiding will exit the app with the default Flutter app delegate configuration.