InfiniteListView.builder constructor

const InfiniteListView.builder({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. InfiniteScrollController? controller,
  5. ScrollPhysics? physics,
  6. EdgeInsets? padding,
  7. double? itemExtent,
  8. required IndexedWidgetBuilder itemBuilder,
  9. int? itemCount,
  10. bool addAutomaticKeepAlives = true,
  11. bool addRepaintBoundaries = true,
  12. bool addSemanticIndexes = true,
  13. double? cacheExtent,
  14. double anchor = 0.0,
  15. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  16. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  17. String? restorationId,
  18. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const InfiniteListView.builder({
  Key? key,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.physics,
  this.padding,
  this.itemExtent,
  required this.itemBuilder,
  this.itemCount,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.anchor = 0.0,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
})  : separatorBuilder = null,
      super(key: key);