xCustomScrollView method

Widget xCustomScrollView (
  1. {Key key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. ScrollController controller,
  5. bool primary,
  6. ScrollPhysics physics,
  7. bool shrinkWrap = false,
  8. Key center,
  9. double anchor = 0.0,
  10. double cacheExtent,
  11. int semanticChildCount,
  12. DragStartBehavior dragStartBehavior = DragStartBehavior.start}
)

Implementation

Widget xCustomScrollView({
  Key key,
  Axis scrollDirection = Axis.vertical,
  bool reverse = false,
  ScrollController controller,
  bool primary,
  ScrollPhysics physics,
  bool shrinkWrap = false,
  Key center,
  double anchor = 0.0,
  double cacheExtent,
  int semanticChildCount,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
}) {
  return CustomScrollView(
    anchor: anchor ?? 0.0,
    cacheExtent: cacheExtent,
    center: center,
    controller: controller,
    dragStartBehavior: dragStartBehavior ?? DragStartBehavior.start,
    key: key,
    physics: physics,
    primary: primary,
    reverse: reverse ?? false,
    scrollDirection: scrollDirection ?? Axis.vertical,
    semanticChildCount: semanticChildCount,
    shrinkWrap: shrinkWrap ?? false,
    slivers: this,
  );
}