isEmpty property

bool isEmpty

Whether this size encloses a non-zero area.

Negative areas are considered empty.

Implementation

bool get isEmpty => width <= 0.0 || height <= 0.0;