toWidget method

  1. @override
Widget toWidget(
  1. BuildContext context
)
override

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));