xListVBH method

Widget xListVBH (
  1. {Key key,
  2. Axis scrollDirection = Axis.horizontal,
  3. bool reverse = false,
  4. ScrollController controller,
  5. bool primary,
  6. ScrollPhysics physics,
  7. bool shrinkWrap = false,
  8. EdgeInsetsGeometry padding,
  9. @required int itemCount,
  10. bool addAutomaticKeepAlives = true,
  11. bool addRepaintBoundaries = true,
  12. bool addSemanticIndexes = true,
  13. double cacheExtent,
  14. int semanticChildCount,
  15. DragStartBehavior dragStartBehavior = DragStartBehavior.start}
)

Implementation

Widget xListVBH({
  Key key,
  Axis scrollDirection = Axis.horizontal,
  bool reverse = false,
  ScrollController controller,
  bool primary,
  ScrollPhysics physics,
  bool shrinkWrap = false,
  EdgeInsetsGeometry padding,
  @required int itemCount,
  bool addAutomaticKeepAlives = true,
  bool addRepaintBoundaries = true,
  bool addSemanticIndexes = true,
  double cacheExtent,
  int semanticChildCount,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) {
  return ListView.builder(
    itemBuilder: this,
    itemCount: itemCount,
    addAutomaticKeepAlives: addAutomaticKeepAlives,
    addRepaintBoundaries: addRepaintBoundaries,
    addSemanticIndexes: addSemanticIndexes,
    key: key,
    scrollDirection: scrollDirection,
    reverse: reverse,
    controller: controller,
    primary: primary,
    physics: physics,
    shrinkWrap: shrinkWrap,
    padding: padding,
    cacheExtent: cacheExtent,
    semanticChildCount: semanticChildCount ?? itemCount,
    dragStartBehavior: dragStartBehavior,
  );
}