Flutter ListView.Builder滚动部分工作

问题描述

我正在开发应用程序,并且尝试使用垂直滚动选项创建列表视图,但是它对我不起作用,就像我想要的...。 如果有人可以帮助我,我将不胜感激!

这是我的代码

Container(
              padding: EdgeInsets.symmetric(horizontal: 00.0,vertical: 200.0),child: Column(
                mainAxisSize: MainAxisSize.min,crossAxisAlignment: CrossAxisAlignment.start,children: <Widget>[
                  Expanded(
                      child: ConstrainedBox(
                    constraints: BoxConstraints(
                      maxHeight: 275,),child: ListView.builder(
                        scrollDirection: Axis.vertical,padding: const EdgeInsets.all(8.0),primary: true,shrinkWrap: true,itemCount: displayList.length,itemBuilder: (context,index) {
                          return Card(
                            child: ListTile(
                              onTap: () {},title: Text(displayList[index].toString()),);
                        }),))
                ],)),

当我尝试向下滚动列表时,您可以看到仅通过按住列表视图的卡片列表图块的左侧即可滚动列表,但是我想从列表视图的每个位置滚动。 ..

我的问题图片

My Problem... when holding this position i am able to scroll the listview...

我希望它是什么:

what i want it to be.. i want to hold somewhere in this position and be able to scroll the listview down......

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)