width property Null safety

double width

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

Implementation

double get width => right - left;