NestedPageView.builder constructor

NestedPageView.builder({
  1. Key? key,
  2. Axis scrollDirection = Axis.horizontal,
  3. bool reverse = false,
  4. PageController? controller,
  5. ScrollPhysics? physics,
  6. bool pageSnapping = true,
  7. ValueChanged<int>? onPageChanged,
  8. required NullableIndexedWidgetBuilder itemBuilder,
  9. ChildIndexGetter? findChildIndexCallback,
  10. int? itemCount,
  11. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  12. bool allowImplicitScrolling = false,
  13. String? restorationId,
  14. Clip clipBehavior = Clip.hardEdge,
  15. HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
  16. ScrollBehavior? scrollBehavior,
  17. bool padEnds = true,
  18. bool wantKeepAlive = true,
})

Implementation

NestedPageView.builder({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.physics,
  super.pageSnapping,
  super.onPageChanged,
  required super.itemBuilder,
  super.findChildIndexCallback,
  super.itemCount,
  super.dragStartBehavior,
  super.allowImplicitScrolling,
  super.restorationId,
  super.clipBehavior,
  super.hitTestBehavior,
  super.scrollBehavior,
  super.padEnds,
  this.wantKeepAlive = true,
}) : super.builder();