rect property

Rect get rect

Implementation

Rect get rect => Rect.fromLTWH(position.x, position.y, width, height);