MacosWindowUtilsConfig constructor

const MacosWindowUtilsConfig({
  1. NSWindowToolbarStyle toolbarStyle = NSWindowToolbarStyle.unified,
  2. bool enableFullSizeContentView = true,
  3. bool makeTitlebarTransparent = true,
  4. bool hideTitle = true,
  5. bool removeMenubarInFullScreenMode = true,
  6. bool autoHideToolbarAndMenuBarInFullScreenMode = true,
})

Creates a MacosWindowUtilsConfig.

The toolbarStyle is NSWindowToolbarStyle.unified by default. If the app will have a title bar, use NSWindowToolbarStyle.expanded instead.

Implementation

const MacosWindowUtilsConfig({
  this.toolbarStyle = NSWindowToolbarStyle.unified,
  this.enableFullSizeContentView = true,
  this.makeTitlebarTransparent = true,
  this.hideTitle = true,
  this.removeMenubarInFullScreenMode = true,
  this.autoHideToolbarAndMenuBarInFullScreenMode = true,
});