onIntersection abstract method

Stream<IntersectionObserverEntry?> onIntersection(
  1. Element? element
)

A stream which fires when element intersects with the scroll viewport.

NOTE: This requires IntersectionObserver. Check supportsIntersectionObserver from feature_detector.dart before using.

Implementation

Stream<IntersectionObserverEntry?> onIntersection(Element? element);