WindowState constructor

const WindowState({
  1. required Rect bounds,
  2. Rect? maximized,
  3. bool minimized = false,
  4. bool alwaysOnTop = false,
  5. bool closable = true,
  6. bool resizable = true,
  7. bool draggable = true,
  8. bool maximizable = true,
  9. bool minimizable = true,
  10. bool enableSnapping = true,
  11. BoxConstraints constraints = kDefaultWindowConstraints,
})

Implementation

const WindowState({
  required this.bounds,
  this.maximized,
  this.minimized = false,
  this.alwaysOnTop = false,
  this.closable = true,
  this.resizable = true,
  this.draggable = true,
  this.maximizable = true,
  this.minimizable = true,
  this.enableSnapping = true,
  this.constraints = kDefaultWindowConstraints,
});