bool isEmpty

Whether this size encloses a non-zero area.

Negative areas are considered empty.

Source

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