Flutter-desktop-embedding: MacOs hide titlebar

Created on 23 Sep 2019  路  3Comments  路  Source: google/flutter-desktop-embedding

How can I hide the titlebar of the macOS. and use custom close, minimize, maximize buttons.

Current situation
image

The ultimate sollution:
image

Most helpful comment

Echoing Stuart's comment. Though, since this took me a bit of time to figure out, I'll add that 4 options need to be selected in MainFlutterWindow.swift.

Screenshot 2020-05-07 at 13 08 56

Result:
Screenshot 2020-05-07 at 13 09 05

All 3 comments

Please use the mailing list, not the issue tracker, for questions.

If you want a non-standard window you need to alter its properties in the XIB, and/or add code to MainFlutterWindow.swift. There's nothing Flutter-specific about the window, so it would be the same process as doing it in a non-Flutter project.

Echoing Stuart's comment. Though, since this took me a bit of time to figure out, I'll add that 4 options need to be selected in MainFlutterWindow.swift.

Screenshot 2020-05-07 at 13 08 56

Result:
Screenshot 2020-05-07 at 13 09 05

Is there a way of doing this on Linux ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Kiruel picture Kiruel  路  3Comments

ghost picture ghost  路  8Comments

stuartmorgan picture stuartmorgan  路  5Comments

krisu7 picture krisu7  路  5Comments

iamsabet picture iamsabet  路  5Comments