isEmpty property
bool
get
isEmpty
Whether this size encloses a non-zero area.
Negative areas are considered empty.
Implementation
bool get isEmpty => width <= 0 || height <= 0;
Whether this size encloses a non-zero area.
Negative areas are considered empty.
bool get isEmpty => width <= 0 || height <= 0;