bool isEmpty

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

Source

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