toRect method

Rect toRect()

转换为Rect

Implementation

Rect toRect() => Rect.fromLTWH(this.left, this.top, width, height);