buildCustomScrollView method
Implementation
@protected
Widget buildCustomScrollView(BuildParameters params) {
final slivers = <Widget>[];
if (params.widgets["slivers"] != null) {
for (Map childSpec in params.widgets["slivers"] as List<Map>) {
slivers.add(builder.buildWidget(
params.context, childSpec, params.state, params.parentContext));
}
}
return CustomScrollView(
key: properties.getKey(params.id),
reverse: parseBool(params.props["reverse"]),
scrollDirection: params.buildProp("scrollDirection") ?? Axis.vertical,
slivers: slivers,
);
}