ExtendedImageGesturePageView.custom constructor

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

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,
  PageController? controller,
  //this.physics,
  this.pageSnapping = true,
  this.onPageChanged,
  CanMovePage? canMovePage,
  CanScrollPage? canScrollPage,
  required this.childrenDelegate,
})   : controller = controller ?? _defaultPageController,
      physics = _defaultScrollPhysics,
      canMovePage = canMovePage ?? _defaultCanMovePage,
      canScrollPage = canScrollPage ?? _defaultCanScrollPage,
      super(key: key);