boundingBox property

  1. @override
Rectangle get boundingBox
override

The smallest axis-aligned rectangle that completely encloses the shape.

Implementation

@override
Rectangle get boundingBox => this;