Window constructor

Window({
  1. Widget? title,
  2. Widget? actions = const WindowActions(),
  3. Widget? content,
  4. bool resizable = true,
  5. bool draggable = true,
  6. bool closable = true,
  7. bool maximizable = true,
  8. bool minimizable = true,
  9. bool enableSnapping = true,
  10. required Rect? bounds,
  11. Rect? maximized,
  12. bool minimized = false,
  13. bool alwaysOnTop = false,
  14. BoxConstraints constraints = kDefaultWindowConstraints,
})

Implementation

Window({
  this.title,
  this.actions = const WindowActions(),
  this.content,
  bool this.resizable = true,
  bool this.draggable = true,
  bool this.closable = true,
  bool this.maximizable = true,
  bool this.minimizable = true,
  bool this.enableSnapping = true,
  required this.bounds,
  this.maximized,
  bool this.minimized = false,
  bool this.alwaysOnTop = false,
  BoxConstraints this.constraints = kDefaultWindowConstraints,
}) : controller = null;