safeAreaView

External Documentation

RNSafeAreaViewElement safeAreaView({

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

SafeAreaView component

Implementation

RNSafeAreaViewElement safeAreaView({
  Map<String, dynamic>? style,
  Map<String, dynamic>? props,
  List<ReactElement>? children,
  JSAny? child,
}) {
  final p = <String, dynamic>{};
  if (style != null) p['style'] = style;
  if (props != null) p.addAll(props);
  return RNSafeAreaViewElement.fromJS(
    rnElement('SafeAreaView', props: p, children: children, child: child),
  );
}