LazyLoadDetectionResult constructor

LazyLoadDetectionResult({
  1. required LazyLoadType type,
  2. List<Element> lazyElements = const [],
  3. List<Element> triggerElements = const [],
  4. bool requiresJavaScript = false,
  5. bool requiresScrolling = false,
  6. bool requiresInteraction = false,
})

Creates a new LazyLoadDetectionResult

Implementation

LazyLoadDetectionResult({
  required this.type,
  this.lazyElements = const [],
  this.triggerElements = const [],
  this.requiresJavaScript = false,
  this.requiresScrolling = false,
  this.requiresInteraction = false,
});