我想将两个ListView.builder放在一个小部件屏幕中,但出现以下错误:
The following assertion was thrown during performLayout():
I/flutter (17103): RenderFlex children have non-zero flex but incoming
height constraints are unbounded.
I/flutter (17103): When a column is in a parent that does not provide a
finite height constraint, for example if it is
I/flutter (17103): in a vertical scrollable, it will try to shrink-wrap its
children along the vertical axis. Setting a
I/flutter (17103): flex on a child (e.g. using Expanded) indicates that the
child is to expand to fill …Run Code Online (Sandbox Code Playgroud)