isEmpty property
bool
get
isEmpty
Whether this rectangle has no area.
Implementation
bool get isEmpty => width <= 0 || height <= 0;
Whether this rectangle has no area.
bool get isEmpty => width <= 0 || height <= 0;