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