WindowWidget constructor

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

Implementation

const WindowWidget({
  super.key,
  this.title,
  this.actions,
  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 Rect this.bounds,
  this.maximized,
  bool this.minimized = false,
  BoxConstraints this.constraints = kDefaultWindowConstraints,
})  : controller = null;