scrollable method
Widget
scrollable({
- ScrollPhysics? physics,
- bool reverse = false,
- ScrollController? controller,
- Axis scrollDirection = Axis.vertical,
Wraps widget with SingleChildScrollView
Implementation
Widget scrollable({
ScrollPhysics? physics,
bool reverse = false,
ScrollController? controller,
Axis scrollDirection = Axis.vertical,
}) {
return SingleChildScrollView(
physics: physics,
reverse: reverse,
controller: controller,
scrollDirection: scrollDirection,
child: this,
);
}