rect method

Rect rect()

This shape's size, expressed in a canvas-friendly type.

Implementation

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