isEmpty property

bool get isEmpty

Determine whether the rectangle is empty.

Implementation

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