IntersectionObserverCallback 类型定义

IntersectionObserverCallback = void Function(List entries, IntersectionObserver observer)

实现

typedef void IntersectionObserverCallback(
    List entries, IntersectionObserver observer);