width property

double get width

The distance between the left and right edges of this rectangle.

Implementation

double get width => right - left;