onResizeTR method
Implementation
onResizeTR(DragUpdateDetails details)
{
if (widget.model.resizeable == false) return;
if (((width ?? 0) + details.delta.dx) < minimumSize) return;
if (((height ?? 0) - details.delta.dy) < minimumSize) return;
setState(()
{
width = (width ?? 0) + details.delta.dx;
height = (height ?? 0) - details.delta.dy;
dy = dy! + details.delta.dy;
lastDy = dy;
lastWidth = width;
lastHeight = height;
});
}