withScroll method
Widget
withScroll({
- ScrollPhysics? physics,
- EdgeInsetsGeometry? padding,
- Axis scrollDirection = Axis.vertical,
- ScrollController? controller,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- bool? primary,
- required bool reverse,
Implementation
@deprecated
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,
);
}