ExtendedImageGesturePageView.custom constructor

ExtendedImageGesturePageView.custom({
  1. Key? key,
  2. Axis scrollDirection = Axis.horizontal,
  3. bool reverse = false,
  4. ExtendedPageController? controller,
  5. bool pageSnapping = true,
  6. ValueChanged<int>? onPageChanged,
  7. CanScrollPage? canScrollPage,
  8. required SliverChildDelegate childrenDelegate,
  9. int preloadPagesCount = 0,
})

Creates a scrollable list that works page by page with a custom child model.

Implementation

ExtendedImageGesturePageView.custom({
  Key? key,
  this.scrollDirection = Axis.horizontal,
  this.reverse = false,
  ExtendedPageController? controller,
  //this.physics,
  this.pageSnapping = true,
  this.onPageChanged,
  CanScrollPage? canScrollPage,
  required this.childrenDelegate,
  this.preloadPagesCount = 0,
})  : controller = controller ?? _defaultPageController,
      physics = _defaultScrollPhysics,
      canScrollPage = canScrollPage ?? _defaultCanScrollPage,
      super(key: key);