InfiniteListView.separated constructor

const InfiniteListView.separated({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. EdgeInsetsGeometry? padding,
  8. double? cacheExtent,
  9. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  10. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  11. String? restorationId,
  12. Clip clipBehavior = Clip.hardEdge,
  13. double? itemExtent,
  14. bool addAutomaticKeepAlives = true,
  15. bool addRepaintBoundaries = true,
  16. bool addSemanticIndexes = true,
  17. required PaginationDelegate delegate,
  18. required IndexedWidgetBuilder separatorBuilder,
  19. bool shrinkWrap = false,
})

Implementation

const InfiniteListView.separated({
  super.key,
  super.scrollDirection,
  super.reverse,
  super.controller,
  super.primary,
  super.physics,
  super.padding,
  super.cacheExtent,
  super.dragStartBehavior,
  super.keyboardDismissBehavior,
  super.restorationId,
  super.clipBehavior,
  this.itemExtent,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  required this.delegate,
  required IndexedWidgetBuilder separatorBuilder,
  super.shrinkWrap,
})  : prototypeItem = null,
      _enableShrinkWrapForFirstPageIndicators = shrinkWrap,
      _separatorBuilder = separatorBuilder;