onResizeL method

dynamic onResizeL(
  1. DragUpdateDetails details
)

Implementation

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