isIntersecting property

bool isIntersecting

Implementation

bool get isIntersecting {
  if (size == Size.zero) return false;

  if (boundingClientRect.right < rootBounds.left ||
      rootBounds.right < boundingClientRect.left) return false;
  if (boundingClientRect.bottom < rootBounds.top ||
      rootBounds.bottom < boundingClientRect.top) return false;
  return true;
}