PaginationListView<T extends Object>.separated constructor

const PaginationListView<T extends Object>.separated({
  1. Key? key,
  2. required Pagination<T> pagination,
  3. required PaginationBuilderDelegate<T> builderDelegate,
  4. required IndexedWidgetBuilder separatorBuilder,
  5. ScrollController? scrollController,
  6. Axis scrollDirection = Axis.vertical,
  7. bool reverse = false,
  8. bool? primary,
  9. ScrollPhysics? physics,
  10. bool shrinkWrap = false,
  11. EdgeInsetsGeometry? padding,
  12. double? itemExtent,
  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,
})

Implementation

const PaginationListView.separated({
  super.key,
  required this.pagination,
  required this.builderDelegate,
  required IndexedWidgetBuilder separatorBuilder,
  // Matches [ScrollView.controller].
  ScrollController? scrollController,
  // Matches [ScrollView.scrollDirection].
  Axis scrollDirection = Axis.vertical,
  // Matches [ScrollView.reverse].
  bool reverse = false,
  // Matches [ScrollView.primary].
  bool? primary,
  // Matches [ScrollView.physics].
  ScrollPhysics? physics,
  // Matches [ScrollView.shrinkWrap].
  bool shrinkWrap = false,
  // Matches [BoxScrollView.padding].
  EdgeInsetsGeometry? padding,
  this.itemExtent,
  this.addAutomaticKeepAlives = true,
  this.addRepaintBoundaries = true,
  this.addSemanticIndexes = true,
  // Matches [ScrollView.cacheExtent]
  double? cacheExtent,
  // Matches [ScrollView.dragStartBehavior]
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  // Matches [ScrollView.keyboardDismissBehavior]
  ScrollViewKeyboardDismissBehavior keyboardDismissBehavior =
      ScrollViewKeyboardDismissBehavior.manual,
  // Matches [ScrollView.restorationId]
  String? restorationId,
  // Matches [ScrollView.clipBehavior]
  Clip clipBehavior = Clip.hardEdge,
})  : prototypeItem = null,
      _shrinkWrapFirstPageIndicators = shrinkWrap,
      _separatorBuilder = separatorBuilder,
      super(
        scrollDirection: scrollDirection,
        reverse: reverse,
        controller: scrollController,
        primary: primary,
        physics: physics,
        shrinkWrap: shrinkWrap,
        padding: padding,
        cacheExtent: cacheExtent,
        dragStartBehavior: dragStartBehavior,
        keyboardDismissBehavior: keyboardDismissBehavior,
        restorationId: restorationId,
        clipBehavior: clipBehavior,
      );