Skip to main content

FlexWidget

Widget container that lays out child widgets using flexbox.

Usage

import { FlexWidget } from 'react-native-android-widget';

export function MyWidget() {
return (
<FlexWidget
style={{
alignItems: 'center',
justifyContent: 'center',
}}
>
...
</FlexWidget>
);
}

Props

Check the props in the Public API documentation