NiceWindow constructor

const NiceWindow({
  1. Key? key,
  2. required String title,
  3. required Widget child,
  4. double width = 400,
  5. double height = 300,
  6. Offset? initialPosition,
  7. VoidCallback? onClose,
  8. bool minimizable = true,
})

Implementation

const NiceWindow({
  super.key,
  required this.title,
  required this.child,
  this.width = 400,
  this.height = 300,
  this.initialPosition,
  this.onClose,
  this.minimizable = true,
});