Point centerRight

The point at the center of the right edge of this rectangle.

See also Size.centerLeft.

Source

Point get centerRight => new Point(right, top + height / 2.0);