withScroll method
Implementation
@Deprecated('Do not use this')
Widget withScroll({
ScrollPhysics? physics,
EdgeInsetsGeometry? padding,
Axis scrollDirection = Axis.vertical,
ScrollController? controller,
DragStartBehavior dragStartBehavior = DragStartBehavior.start,
bool? primary,
required bool reverse,
}) {
return SingleChildScrollView(
child: this,
physics: physics,
padding: padding,
scrollDirection: scrollDirection,
controller: controller,
dragStartBehavior: dragStartBehavior,
primary: primary,
reverse: reverse,
);
}