InfinitePageView constructor

const InfinitePageView({
  1. Key? key,
  2. required InfinitePageBuilder itemBuilder,
  3. InfinitePageController? controller,
  4. OnPageChanged? onPageChanged,
  5. bool pageSnapping = true,
  6. ScrollBehavior? scrollBehavior,
  7. Axis scrollDirection = Axis.horizontal,
  8. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
})

Implementation

const InfinitePageView({
  Key? key,
  required this.itemBuilder,
  this.controller,
  this.onPageChanged,
  this.pageSnapping = true,
  this.scrollBehavior,
  this.scrollDirection = Axis.horizontal,
  this.dragStartBehavior = DragStartBehavior.start,
}) : super(key: key);