width property

double get width

Width of the rectangle.

Implementation

double get width => (x1 - x0).abs();