NestedPageView.builder constructor
NestedPageView.builder({
- Key? key,
- Axis scrollDirection = Axis.horizontal,
- bool reverse = false,
- PageController? controller,
- ScrollPhysics? physics,
- bool pageSnapping = true,
- ValueChanged<
int> ? onPageChanged, - required NullableIndexedWidgetBuilder itemBuilder,
- ChildIndexGetter? findChildIndexCallback,
- int? itemCount,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool allowImplicitScrolling = false,
- String? restorationId,
- Clip clipBehavior = Clip.hardEdge,
- HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
- ScrollBehavior? scrollBehavior,
- bool padEnds = true,
- 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();