xListViewHorizontalNeverScrollableScrollPhysics method

Widget xListViewHorizontalNeverScrollableScrollPhysics (
  1. {bool addAutomaticKeepAlives = true,
  2. bool addRepaintBoundaries = true,
  3. bool addSemanticIndexes = true,
  4. double cacheExtent,
  5. ScrollController controller,
  6. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  7. double itemExtent,
  8. Key key,
  9. EdgeInsetsGeometry padding,
  10. bool primary,
  11. bool reverse = false,
  12. int semanticChildCount,
  13. ScrollPhysics parent}
)

Implementation

Widget xListViewHorizontalNeverScrollableScrollPhysics(
    {bool addAutomaticKeepAlives = true,
    bool addRepaintBoundaries = true,
    bool addSemanticIndexes = true,
    double cacheExtent,
    ScrollController controller,
    DragStartBehavior dragStartBehavior = DragStartBehavior.start,
    double itemExtent,
    Key key,
    EdgeInsetsGeometry padding,
    bool primary,
    bool reverse = false,
    int semanticChildCount,
    ScrollPhysics parent}) {
  return ListView(
    addAutomaticKeepAlives: addAutomaticKeepAlives,
    addRepaintBoundaries: addRepaintBoundaries,
    addSemanticIndexes: addSemanticIndexes,
    cacheExtent: cacheExtent,
    controller: controller,
    dragStartBehavior: dragStartBehavior,
    itemExtent: itemExtent,
    key: key,
    padding: padding,
    physics: NeverScrollableScrollPhysics(parent: parent),
    primary: primary,
    reverse: reverse,
    semanticChildCount: semanticChildCount,
    shrinkWrap: true,
    scrollDirection: Axis.horizontal,
    children: this,
  );
}