isEmpty property

bool isEmpty

Whether this rectangle encloses a non-zero area. Negative areas are considered empty.

Implementation

bool get isEmpty => left >= right || top >= bottom;