PagedPageView<PageKeyType, ItemType> constructor
const
PagedPageView<PageKeyType, ItemType> ({
- required PagingController<
PageKeyType, ItemType> pagingController, - required PagedChildBuilderDelegate<
ItemType> builderDelegate, - bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- bool addSemanticIndexes = true,
- bool allowImplicitScrolling = false,
- String? restorationId,
- PageController? pageController,
- ScrollBehavior? scrollBehavior,
- Axis scrollDirection = Axis.horizontal,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- Clip clipBehavior = Clip.hardEdge,
- bool reverse = false,
- ScrollPhysics? physics,
- void onPageChanged()?,
- bool pageSnapping = true,
- bool padEnds = true,
- bool shrinkWrapFirstPageIndicators = false,
- Key? key,
Implementation
const PagedPageView({
required this.pagingController,
required this.builderDelegate,
this.addAutomaticKeepAlives = true,
this.addRepaintBoundaries = true,
this.addSemanticIndexes = true,
this.allowImplicitScrolling = false,
this.restorationId,
this.pageController,
this.scrollBehavior,
this.scrollDirection = Axis.horizontal,
this.dragStartBehavior = DragStartBehavior.start,
this.clipBehavior = Clip.hardEdge,
this.reverse = false,
this.physics,
this.onPageChanged,
this.pageSnapping = true,
this.padEnds = true,
this.shrinkWrapFirstPageIndicators = false,
Key? key,
}) : super(key: key);