onResizeTR method
Implementation
onResizeTR(DragUpdateDetails details) {
if (!widget.model.resizeable) return;
if (((width ?? 0) + details.delta.dx) < minimumWidth) return;
if (((height ?? 0) - details.delta.dy) < minimumHeight) 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;
});
}