center property

This Bounds central point.

Implementation

CustomPoint<double> get center => CustomPoint<double>(
      (min.x + max.x) / 2,
      (min.y + max.y) / 2,
    );