You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appendChild(child: RNListItem): void {
if (!this.layout) {
this.setLayout(new FlexLayout());
}
if (!(child instanceof RNListItem)) {
throw new Error("Children of list should be of type ListItem");
}
this.addItem(child);
if (child.actualListItemWidget) {
child.setSizeHint(child.actualListItemWidget.size());
this.setItemWidget(child, child.actualListItemWidget);
}
}
in this codes, What does new FlexLayout() do?
The text was updated successfully, but these errors were encountered:
appendChild(child: RNListItem): void {
if (!this.layout) {
this.setLayout(new FlexLayout());
}
}
in this codes, What does new FlexLayout() do?
The text was updated successfully, but these errors were encountered: