scrollable method

Widget scrollable({
  1. Key? key,
  2. Axis scrollDirection = Axis.vertical,
  3. bool reverse = false,
  4. bool? primary,
  5. ScrollPhysics? physics,
  6. ScrollController? controller,
  7. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  8. EdgeInsetsGeometry? padding,
})

Implementation

Widget scrollable({
  Key? key,
  Axis scrollDirection = Axis.vertical,
  bool reverse = false,
  bool? primary,
  ScrollPhysics? physics,
  ScrollController? controller,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  EdgeInsetsGeometry? padding,
}) =>
    SingleChildScrollView(
      key: key,
      child: this,
      scrollDirection: scrollDirection,
      reverse: reverse,
      primary: primary,
      physics: physics,
      controller: controller,
      dragStartBehavior: dragStartBehavior,
      padding: padding,
    );