NestedListView.builder constructor

NestedListView.builder({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. bool shrinkWrap = false,
  8. EdgeInsetsGeometry? padding,
  9. double? itemExtent,
  10. ItemExtentBuilder? itemExtentBuilder,
  11. Widget? prototypeItem,
  12. required NullableIndexedWidgetBuilder itemBuilder,
  13. ChildIndexGetter? findChildIndexCallback,
  14. int? itemCount,
  15. bool addAutomaticKeepAlives = true,
  16. bool addRepaintBoundaries = true,
  17. bool addSemanticIndexes = true,
  18. double? cacheExtent,
  19. int? semanticChildCount,
  20. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  21. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  22. String? restorationId,
  23. Clip clipBehavior = Clip.hardEdge,
  24. HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
  25. bool wantKeepAlive = true,
})

Implementation

NestedListView.builder({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.primary,
  super.physics,
  super.shrinkWrap,
  super.padding,
  super.itemExtent,
  super.itemExtentBuilder,
  super.prototypeItem,
  required super.itemBuilder,
  super.findChildIndexCallback,
  super.itemCount,
  super.addAutomaticKeepAlives,
  super.addRepaintBoundaries,
  super.addSemanticIndexes,
  super.cacheExtent,
  super.semanticChildCount,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
  super.restorationId,
  super.clipBehavior,
  super.hitTestBehavior,
  this.wantKeepAlive = true,
}) : super.builder();