rect method

Rect rect()

This shape's bounds at the origin.

Implementation

Rect rect() => Rect.fromLTWH(0, 0, width, height);