NiceResizable constructor

const NiceResizable({
  1. Key? key,
  2. required Widget child,
  3. double initialWidth = 300,
  4. double initialHeight = 200,
  5. double minWidth = 100,
  6. double minHeight = 80,
  7. double maxWidth = 800,
  8. double maxHeight = 600,
  9. double handleSize = 8,
  10. void onResize(
    1. double width,
    2. double height
    )?,
})

Implementation

const NiceResizable({
  super.key,
  required this.child,
  this.initialWidth = 300,
  this.initialHeight = 200,
  this.minWidth = 100,
  this.minHeight = 80,
  this.maxWidth = 800,
  this.maxHeight = 600,
  this.handleSize = 8,
  this.onResize,
});