toRect method

Rect toRect()

Creates a Rect from the Size

Implementation

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