InfinitePageView constructor
const
InfinitePageView({
- Key? key,
- required InfinitePageBuilder itemBuilder,
- InfinitePageController? controller,
- OnPageChanged? onPageChanged,
- bool pageSnapping = true,
- ScrollBehavior? scrollBehavior,
- Axis scrollDirection = Axis.horizontal,
- 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);