useScrollable method

void useScrollable({
  1. ScrollController? controller,
  2. Axis scrollDirection = Axis.vertical,
  3. bool? primary,
  4. bool reverse = false,
  5. ScrollPhysics? physics,
  6. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  7. String? restorationId,
})

Implementation

void useScrollable({
  ScrollController? controller,
  Axis scrollDirection = Axis.vertical,
  bool? primary,
  bool reverse = false,
  ScrollPhysics? physics,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  String? restorationId,
}) =>
    _add((w) => SingleChildScrollView(
          child: w,
          controller: controller,
          scrollDirection: scrollDirection,
          primary: primary,
          reverse: reverse,
          physics: physics,
          dragStartBehavior: dragStartBehavior,
          restorationId: restorationId,
        ));