IntersectionOptions constructor

const IntersectionOptions({
  1. GlobalNodeKey<Element>? root,
  2. String rootMargin = '0px',
  3. List<double> thresholds = const <double>[0],
  4. bool freezeOnceVisible = false,
})

Creates intersection options.

Implementation

const IntersectionOptions({
  this.root,
  this.rootMargin = '0px',
  this.thresholds = const <double>[0],
  this.freezeOnceVisible = false,
});