isEmpty property Null safety
Whether this rectangle encloses a non-zero area. Negative areas are considered empty.
Implementation
bool get isEmpty => left >= right || top >= bottom;
Whether this rectangle encloses a non-zero area. Negative areas are considered empty.
bool get isEmpty => left >= right || top >= bottom;