scrollView
External Documentation
RNScrollViewElement
scrollView(
ScrollView component
Implementation
RNScrollViewElement scrollView({
Map<String, dynamic>? style,
Map<String, dynamic>? contentContainerStyle,
Map<String, dynamic>? props,
List<ReactElement>? children,
JSAny? child,
}) {
final p = <String, dynamic>{};
if (style != null) p['style'] = style;
if (contentContainerStyle != null) {
p['contentContainerStyle'] = contentContainerStyle;
}
if (props != null) p.addAll(props);
return RNScrollViewElement.fromJS(
rnElement('ScrollView', props: p, children: children, child: child),
);
}