center property

  1. @override
Point get center
override

The center Point of this rectangle.

Implementation

@override
Point get center => Point(x + width ~/ 2, y + height ~/ 2);