Window constructor
Window({
- Widget? title,
- Widget? actions = const WindowActions(),
- Widget? content,
- bool resizable = true,
- bool draggable = true,
- bool closable = true,
- bool maximizable = true,
- bool minimizable = true,
- bool enableSnapping = true,
- required Rect? bounds,
- Rect? maximized,
- bool minimized = false,
- bool alwaysOnTop = false,
- 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;