isEmpty property Null safety

bool isEmpty

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

Implementation

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