center property

Offset get center

Implementation

Offset get center => Offset((left + right) / 2, (top + bottom) / 2);