bottomRight method

Offset bottomRight (Offset origin)

The offset to the intersection of the bottom and right edges of the rectangle described by the given offset (which is interpreted as the top-left corner) and this size.

See also Rect.bottomRight.

Implementation

Offset bottomRight(Offset origin) => Offset(origin.dx + width, origin.dy + height);