ExtendedImageGesturePageView.custom constructor
ExtendedImageGesturePageView.custom({
- Key? key,
- Axis scrollDirection = Axis.horizontal,
- bool reverse = false,
- ExtendedPageController? controller,
- bool pageSnapping = true,
- ValueChanged<
int> ? onPageChanged, - CanScrollPage? canScrollPage,
- required SliverChildDelegate childrenDelegate,
- 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);