Windows constructor

const Windows({
  1. Key? key,
  2. required int index,
  3. required Widget body,
  4. String? title = "Flutter Toolman Windows",
  5. double? height = 350,
  6. double? width = 350,
  7. bool? draggable = true,
  8. bool? isFullscreen = false,
  9. Widget? header,
  10. BorderProperty? border = const BorderProperty(color: BorderColor.def(), borderThickness: 1),
  11. Offset? position = const Offset(0, 0),
})

Implementation

const Windows({
  Key? key,
  required this.index,
  required this.body,
  this.title = "Flutter Toolman Windows",
  this.height = 350,
  this.width = 350,
  this.draggable = true,
  this.isFullscreen = false,
  this.header,
  this.border = const BorderProperty(
    color: BorderColor.def(),
    borderThickness: 1,
  ),
  this.position = const Offset(0, 0),
}) : super(key: key);