Closed ghost closed 2 years ago
In the example in main()->doWhenWindowReady()
I commented out win.show();
and the app starts without showing the window.
PS:
and if you want to start the application without having an icon in the task bar on macos you have to add in macos/Runner/Info.plist
in your project directory:
<key>LSUIElement</key>
<true/>
Hi, How can I hide the window and remove the icon from the dock on startup on macos?
thanks.