PagedPageView<PageKeyType, ItemType> constructor

const PagedPageView<PageKeyType, ItemType>({
  1. required PagingController<PageKeyType, ItemType> pagingController,
  2. required PagedChildBuilderDelegate<ItemType> builderDelegate,
  3. bool addAutomaticKeepAlives = true,
  4. bool addRepaintBoundaries = true,
  5. bool addSemanticIndexes = true,
  6. bool allowImplicitScrolling = false,
  7. String? restorationId,
  8. PageController? pageController,
  9. ScrollBehavior? scrollBehavior,
  10. Axis scrollDirection = Axis.horizontal,
  11. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  12. Clip clipBehavior = Clip.hardEdge,
  13. bool reverse = false,
  14. ScrollPhysics? physics,
  15. void onPageChanged(
    1. int
    )?,
  16. bool pageSnapping = true,
  17. bool padEnds = true,
  18. bool shrinkWrapFirstPageIndicators = false,
  19. 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);