toScrollableView method
Widget
toScrollableView({
- Axis? direction,
- bool scrollable = true,
- ScrollController? controller,
- ScrollPhysics? scrollPhysics,
- Key? key,
Implementation
Widget toScrollableView({
Axis? direction,
bool scrollable = true,
ScrollController? controller,
ScrollPhysics? scrollPhysics,
Key? key,
}) =>
SingleChildScrollView(
key: key,
scrollDirection: direction ?? Axis.vertical,
physics: !scrollable ? const NeverScrollableScrollPhysics() : scrollPhysics,
controller: controller,
child: this,
);