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