scrollView

External Documentation

RNScrollViewElement scrollView({

  1. Map<String, dynamic>? style,
  2. Map<String, dynamic>? contentContainerStyle,
  3. Map<String, dynamic>? props,
  4. List<ReactElement>? children,
  5. JSAny? child,
})

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