onResizeBR method
Implementation
onResizeBR(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;
lastDx = dx;
lastDy = dy;
lastWidth = width;
lastHeight = height;
});
}