center property

Offset get center

Implementation

Offset get center => Offset(x + width / 2, y + height / 2);