MacosWindow constructor

const MacosWindow({
  1. Key? key,
  2. Widget? child,
  3. TitleBar? titleBar,
  4. Sidebar? sidebar,
  5. Color? backgroundColor,
  6. Sidebar? endSidebar,
  7. bool disableWallpaperTinting = false,
  8. NSVisualEffectViewState sidebarState = NSVisualEffectViewState.followsWindowActiveState,
})

Creates a macOS window layout with a sidebar on the left.

The child widget is typically a MacosScaffold which fills the rest of the screen.

Implementation

const MacosWindow({
  super.key,
  this.child,
  this.titleBar,
  this.sidebar,
  this.backgroundColor,
  this.endSidebar,
  this.disableWallpaperTinting = false,
  this.sidebarState = NSVisualEffectViewState.followsWindowActiveState,
});