rect property

Rect get rect

Rectangle of start and end point.

Implementation

Rect get rect => Rect.fromPoints(this, location);