由于列表视图,用户无法滚动更多



我正在制作一个扑动应用程序,我有下一个问题。用户需要添加它们打开/关闭的时间。但是当我想滚动更多,我不能,因为滚动视图不保持完整更多。我会发布一个视频进行更好- https://i.stack.imgur.com/o4UL6.jpg

Text(
'End Time: ',
style: TextStyle(
fontWeight: FontWeight.w600, fontSize: 16.0),
),
DirectSelect(
itemExtent: 50.0,
selectedIndex: selectedIndex1,
backgroundColor: Colors.white30,
child: MySelectionItem(
isForList: false,
title: elements3[selectedIndex3],
),
onSelectedItemChanged: (index) {
setState(() {
selectedIndex3 = index;
});
},
items: _buildItems3()),
],

你试过改变背景颜色吗?设置为不透明,并尝试一次

最新更新