ResizableWidget constructor
ResizableWidget({
- dynamic key,
- required int position,
- required Widget resizableWidget,
- bool canMove = true,
- bool showRemoveIcon = true,
- Color borderColor = Colors.black,
- String? widgetType,
- Matrix4? matrix4,
- bool isVisible = true,
- Icon removeIcon = const Icon(Icons.close, size: 20.0),
- required dynamic onRemoveClick(),
- required dynamic onSetTop(),
- required dynamic onClick(),
- required dynamic onTouchOver(),
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);