center property

Point<num> get center

Returns the center of the Rectangle.

Implementation

math.Point<num> get center =>
    math.Point<num>(left + width / 2, top + height / 2);