LazyLoadScrollView constructor

const LazyLoadScrollView({
  1. Key? key,
  2. required Widget child,
  3. AsyncCallback? onStartOfPage,
  4. AsyncCallback? onEndOfPage,
  5. VoidCallback? onPageScrollStart,
  6. VoidCallback? onPageScrollEnd,
  7. VoidCallback? onInBetweenOfPage,
  8. double scrollOffset = 100,
  9. bool allowNotificationBubbling = false,
})

Creates a new instance of LazyLoadScrollView. The parameter child must be supplied and not null.

Implementation

const LazyLoadScrollView({
  Key? key,
  required this.child,
  this.onStartOfPage,
  this.onEndOfPage,
  this.onPageScrollStart,
  this.onPageScrollEnd,
  this.onInBetweenOfPage,
  this.scrollOffset = 100,
  this.allowNotificationBubbling = false,
}) : super(key: key);