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