相关疑难解决方法(0)

Flutter Listview可滚动行

                        new ListView(
                          children: [
                            new SizedBox(
                              height: 100.0,
                              child: ListView(
                                scrollDirection: Axis.horizontal,
                                children: <Widget>[
                                  new Text("hi"),
                                  new Text("hi"),
                                  new Text("hi"),
                                ],
                              ),
                            ),
                          ],
                        ),
Run Code Online (Sandbox Code Playgroud)

我使用了大小的盒子,似乎仍然有错误.

这是我的小部件树:SingleChildScrollView - > Column - > children

Performing hot reload... flutter: ??? EXCEPTION CAUGHT BY RENDERING LIBRARY ?????????????????????????????????????????????????????????? flutter: The following assertion was thrown during performResize(): flutter: Vertical viewport was given unbounded height. flutter: Viewports expand in the scrolling direction to fill their container.In this case, a vertical flutter: viewport was given an unlimited …
Run Code Online (Sandbox Code Playgroud)

dart flutter

6
推荐指数
4
解决办法
1万
查看次数

标签 统计

dart ×1

flutter ×1