bool isEmpty

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

Source

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