NestedListView.separated constructor

NestedListView.separated({
  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. required NullableIndexedWidgetBuilder itemBuilder,
  10. ChildIndexGetter? findChildIndexCallback,
  11. required IndexedWidgetBuilder separatorBuilder,
  12. required int itemCount,
  13. bool addAutomaticKeepAlives = true,
  14. bool addRepaintBoundaries = true,
  15. bool addSemanticIndexes = true,
  16. double? cacheExtent,
  17. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  18. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  19. String? restorationId,
  20. Clip clipBehavior = Clip.hardEdge,
  21. HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
  22. bool wantKeepAlive = true,
})

Implementation

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