moveBottomRight method
Moves the rectangle, leaving the bottom-right corner at the given position. The rectangle's size is unchanged.
Implementation
Rect moveBottomRight(Offset bottomRight) {
return moveRight(bottomRight.dx).moveBottom(bottomRight.dy);
}