overlaps method
Returns true if this range overlaps with other.
Implementation
bool overlaps(LayoutRange other) {
if (end <= other.start || other.end <= start) {
return false;
}
return true;
}
Returns true if this range overlaps with other.
bool overlaps(LayoutRange other) {
if (end <= other.start || other.end <= start) {
return false;
}
return true;
}