buildScrollView method
Implementation
@protected
Widget buildScrollView(BuildParameters params) {
final children = <Widget>[];
if (params.widgets["children"] != null) {
for (Map childSpec in params.widgets["children"] as List<Map>) {
children.add(builder.buildWidget(
params.context, childSpec, params.state, params.parentContext));
}
}
return ListView(
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,
children: children,
);
}