enclosingRectangle property

Rect get enclosingRectangle

Returns the enclosing area as a Rect.

Implementation

Rect get enclosingRectangle => RectExtension.smallestContaining(this);