Point topCenter

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

See also Size.topCenter.

Source

Point get topCenter => new Point(left + width / 2.0, top);