CustomPaginableListView.builder constructor

const CustomPaginableListView.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. Widget? prototypeItem,
  11. required Future<void> loadMore(),
  12. required Widget progressIndicatorWidget,
  13. required Widget errorIndicatorWidget(
    1. Exception exception,
    2. void tryAgain()
    ),
  14. required IndexedWidgetBuilder itemBuilder,
  15. required int itemCount,
  16. bool addAutomaticKeepAlives = true,
  17. bool addRepaintBoundaries = true,
  18. bool addSemanticIndexes = true,
  19. double? cacheExtent,
  20. int? semanticChildCount,
  21. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  22. ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  23. String? restorationId,
  24. Clip clipBehavior = Clip.hardEdge,
})

Implementation

const CustomPaginableListView.builder({
  Key? key,
  this.scrollDirection = Axis.vertical,
  this.reverse = false,
  this.controller,
  this.primary,
  this.physics,
  this.shrinkWrap = false,
  this.padding,
  this.itemExtent,
  this.prototypeItem,
  required this.loadMore,
  required this.progressIndicatorWidget,
  required this.errorIndicatorWidget,
  required this.itemBuilder,
  required this.itemCount,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  this.cacheExtent,
  this.semanticChildCount,
  this.dragStartBehavior = DragStartBehavior.start,
  this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
  this.restorationId,
  this.clipBehavior = Clip.hardEdge,
})  : _isListViewSeparated = false,
      separatorBuilder = null,
      super(key: key);