PagedPageView<PageKeyType, T extends PagingItem> constructor

const PagedPageView<PageKeyType, T extends PagingItem>({
  1. required PagedChildBuilderDelegate<T> builderDelegate,
  2. bool addAutomaticKeepAlives = true,
  3. bool addRepaintBoundaries = true,
  4. bool addSemanticIndexes = true,
  5. bool allowImplicitScrolling = false,
  6. String? restorationId,
  7. PageController? pageController,
  8. ScrollBehavior? scrollBehavior,
  9. Axis scrollDirection = Axis.horizontal,
  10. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  11. Clip clipBehavior = Clip.hardEdge,
  12. bool reverse = false,
  13. ScrollPhysics? physics,
  14. void onPageChanged(
    1. int
    )?,
  15. bool pageSnapping = true,
  16. bool padEnds = true,
  17. bool shrinkWrapFirstPageIndicators = false,
  18. PagedChildStatusBuilderDelegate<PagingItem>? statusBuilderDelegate,
  19. required PagingDataController<dynamic, PagingItem> pagingDataController,
  20. bool? persistent,
  21. bool? forceUseInitData,
  22. Key? key,
})

Implementation

const PagedPageView({
  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,
  this.statusBuilderDelegate,
  required this.pagingDataController,
  this.persistent,
  this.forceUseInitData,
  super.key,
});