NikuListView.custom constructor

NikuListView.custom({
  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. required SliverChildDelegate childrenDelegate,
  12. double? cacheExtent,
  13. int? semanticChildCount,
  14. DragStartBehavior? dragStartBehavior,
  15. ScrollViewKeyboardDismissBehavior? keyboardDismissBehavior,
  16. String? restorationId,
  17. Clip? clipBehavior,
})

Implementation

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