intersects method Null safety
- Rect o
Implementation
bool intersects(Rect o) =>
left < o.right && right > o.left && top < o.bottom && bottom > o.top;
bool intersects(Rect o) =>
left < o.right && right > o.left && top < o.bottom && bottom > o.top;