ResizableWidget constructor

ResizableWidget({
  1. dynamic key,
  2. required int position,
  3. required Widget resizableWidget,
  4. bool canMove = true,
  5. bool showRemoveIcon = true,
  6. Color borderColor = Colors.black,
  7. String? widgetType,
  8. Matrix4? matrix4,
  9. bool isVisible = true,
  10. Icon removeIcon = const Icon(Icons.close, size: 20.0),
  11. required dynamic onRemoveClick(
    1. Key,
    2. int
    ),
  12. required dynamic onSetTop(
    1. Key,
    2. int,
    3. String?
    ),
  13. required dynamic onClick(
    1. Key,
    2. int,
    3. String?
    ),
  14. required dynamic onTouchOver(
    1. Key,
    2. int,
    3. Matrix4
    ),
})

Implementation

ResizableWidget({
  key,
  required this.position,
  required this.resizableWidget,
  this.canMove = true,
  this.showRemoveIcon = true,
  this.borderColor = Colors.black,
  this.widgetType,
  this.matrix4,
  this.isVisible = true,
  this.removeIcon = const Icon(
    Icons.close,
    size: 20.0,
  ),
  required this.onRemoveClick,
  required this.onSetTop,
  required this.onClick,
  required this.onTouchOver,
}) : super(key: key);