NikuListView.builder constructor

NikuListView.builder({
  1. Key? key,
  2. Axis? scrollDirection,
  3. bool? reverse,
  4. ScrollController? controller,
  5. bool? primary,
  6. ScrollPhysics? physics,
  7. bool? shrinkWrap,
  8. NikuEdgeInsets? padding,
  9. double? itemExtent,
  10. Widget? prototypeItem,
  11. IndexedWidgetBuilder? itemBuilder,
  12. int? itemCount,
  13. bool? addAutomaticKeepAlives,
  14. bool? addRepaintBoundaries,
  15. bool? addSemanticIndexes,
  16. double? cacheExtent,
  17. int? semanticChildCount,
  18. DragStartBehavior? dragStartBehavior,
  19. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  20. String? restorationId,
  21. Clip? clipBehavior,
})

Implementation

factory NikuListView.builder({
  Key? key,
  Axis? scrollDirection,
  bool? reverse,
  ScrollController? controller,
  bool? primary,
  ScrollPhysics? physics,
  bool? shrinkWrap,
  NikuEdgeInsets? padding,
  double? itemExtent,
  Widget? prototypeItem,
  IndexedWidgetBuilder? itemBuilder,
  int? itemCount,
  bool? addAutomaticKeepAlives,
  bool? addRepaintBoundaries,
  bool? addSemanticIndexes,
  double? cacheExtent,
  int? semanticChildCount,
  DragStartBehavior? dragStartBehavior,
  ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  String? restorationId,
  Clip? clipBehavior,
}) =>
    NikuListView(
      key: key,
      type: NikuListViewType.builder,
      scrollDirection: scrollDirection,
      reverse: reverse,
      controller: controller,
      primary: primary,
      physics: physics,
      shrinkWrap: shrinkWrap,
      padding: padding,
      itemExtent: itemExtent,
      prototypeItem: prototypeItem,
      itemBuilder: itemBuilder,
      itemCount: itemCount,
      addAutomaticKeepAlives: addAutomaticKeepAlives,
      addRepaintBoundaries: addRepaintBoundaries,
      addSemanticIndexes: addSemanticIndexes,
      cacheExtent: cacheExtent,
      semanticChildCount: semanticChildCount,
      dragStartBehavior: dragStartBehavior,
      keyboardDismissBehavior: keyboardDismissBehavior,
      restorationId: restorationId,
      clipBehavior: clipBehavior,
    );