topCenter property

Offset topCenter

The offset to the center of the top edge of this rectangle.

See also Size.topCenter.

Implementation

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