Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JsonListBuilder-jsonObj is empty list error #12

Closed
pxz8858 opened this issue Nov 17, 2022 · 0 comments
Closed

JsonListBuilder-jsonObj is empty list error #12

pxz8858 opened this issue Nov 17, 2022 · 0 comments

Comments

@pxz8858
Copy link

pxz8858 commented Nov 17, 2022

error at: widget.jsonObj.first

Widget _buildItem(List items) {
if (!isOpened) {
return ClosedJsonObjectItem(
isList: true,
jsonViewTheme: widget.jsonViewTheme,
count: widget.jsonObj.length,
type: Typer.getType(widget.jsonObj.first),
);
}
return Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: items,
);
}

@pxz8858 pxz8858 closed this as completed Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant