center property

Offset get center

Implementation

Offset get center => Offset(left + width / 2, top + height / 2);