centerPoint property

Offset centerPoint

Implementation

Offset get centerPoint => Offset(
    position.left + (position.right - position.left) / 2,
    position.top + (position.bottom - position.top) / 2);