We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here provide two different ways to realize it.
e.g. https://medium.com/flutter-community/transparent-title-bar-on-macos-with-flutter-7043d44f25dc
Go your project dir/macos/Runner/MainFlutterWindow.swift:
import Cocoa import FlutterMacOS class MainFlutterWindow: NSWindow { override func awakeFromNib() { let flutterViewController = FlutterViewController.init() let windowFrame = self.frame self.contentViewController = flutterViewController self.setFrame(windowFrame, display: true) + // Hide system icon buttons in the title bar. + self.standardWindowButton(.closeButton)?.isHidden = true + self.standardWindowButton(.miniaturizeButton)?.isHidden = true + self.standardWindowButton(.zoomButton)?.isHidden = true RegisterGeneratedPlugins(registry: flutterViewController) super.awakeFromNib() } }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Here provide two different ways to realize it.
1. Xcode configs by hand
e.g. https://medium.com/flutter-community/transparent-title-bar-on-macos-with-flutter-7043d44f25dc
2. Flutter way
Go your project dir/macos/Runner/MainFlutterWindow.swift:
The text was updated successfully, but these errors were encountered: