toWidget method
Return the associated Widget
Implementation
@override
Widget toWidget(BuildContext context) => SingleChildScrollView(
primary: primary,
scrollDirection: toAxis(scrollDirection),
reverse: reverse ?? false,
padding: padding == null ? null : EdgeInsets.all(padding!),
child: child()?.toWidget(context));