isEmpty property
bool
get
isEmpty
Whether or not the rect has any contents.
Implementation
bool get isEmpty => width == 0 || height == 0;
Whether or not the rect has any contents.
bool get isEmpty => width == 0 || height == 0;