scrollable static method

FloretParent<SingleChildScrollView> scrollable({
  1. ScrollController? controller,
  2. Axis scrollDirection = Axis.vertical,
  3. bool? primary,
  4. bool reverse = false,
  5. ScrollPhysics? scrollPhysics,
  6. DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  7. String? restorationId,
})

Implementation

static FloretParent<SingleChildScrollView> scrollable({
  ScrollController? controller,
  Axis scrollDirection = Axis.vertical,
  bool? primary,
  bool reverse = false,
  ScrollPhysics? scrollPhysics,
  DragStartBehavior dragStartBehavior = DragStartBehavior.start,
  String? restorationId,
}) =>
    (Widget child) => SingleChildScrollView(
          child: child,
          controller: controller,
          scrollDirection: scrollDirection,
          primary: primary,
          reverse: reverse,
          physics: scrollPhysics,
          dragStartBehavior: dragStartBehavior,
          restorationId: restorationId,
        );