IntersectionObserverEntry constructor

const IntersectionObserverEntry({
  1. Rect? boundingClientRect,
  2. Rect? intersectionRect,
  3. Rect? rootBounds,
  4. Size? size,
})

Implementation

const IntersectionObserverEntry(
    {Rect? boundingClientRect,
    Rect? intersectionRect,
    Rect? rootBounds,
    Size? size})
    : boundingClientRect = boundingClientRect ?? Rect.zero,
      intersectionRect = intersectionRect ?? Rect.zero,
      rootBounds = rootBounds ?? Rect.zero,
      size = size ?? Size.zero;