buildSingleChildScrollView method

  1. @protected
Widget buildSingleChildScrollView(
  1. BuildParameters params
)

Implementation

@protected
Widget buildSingleChildScrollView(BuildParameters params) {
  final child = builder.tryBuildWidget(params.context,
      params.widgets["child"], params.state, params.parentContext);
  return SingleChildScrollView(
    key: properties.getKey(params.id),
    padding: params.buildProp("padding"),
    reverse: parseBool(params.props["reverse"]),
    scrollDirection: params.buildProp("scrollDirection") ?? Axis.vertical,
    keyboardDismissBehavior: params.buildProp("keyboardDismissBehavior") ??
        ScrollViewKeyboardDismissBehavior.manual,
    child: child,
  );
}