toRect method

Rect toRect()

Converts to a Rect.

Implementation

Rect toRect() => Rect.fromLTWH(x, y, width, height);