width property

double get width

The width of the rectangle.

Implementation

double get width => right - left;