onResizeL method

dynamic onResizeL(
  1. DragUpdateDetails details
)

Implementation

onResizeL(DragUpdateDetails details) {
  if (!widget.model.resizeable) return;
  if (((width ?? 0) - details.delta.dx) < minimumWidth) return;
  setState(() {
    width = (width ?? 0) - details.delta.dx;
    dx = dx! + details.delta.dx;
    lastDx = dx;
    lastWidth = width;
  });
}