flutter - 由于列表视图,用户无法滚动更多
问题描述
我正在制作一个颤振应用程序,我有下一个问题。用户需要添加他们打开/关闭的时间。但是当我想滚动更多时,由于滚动视图不能保持完整,所以我无法保持完整。我将发布视频以进行更好的处理-https: //imgur.com/a/KyQYRx0
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()),
],
解决方案
你试过改变背景颜色吗?使其不透明并尝试一次
推荐阅读
- three.js - Three.js 后处理:如何保持多遍的深度纹理?
- sql - Postgres @> 任何值
- database - 用于 Gradle 依赖项的 testCompile
- scala - 用于delta湖优化命令的scala api
- google-sheets - 在 Google 表格的数组公式中使用 COUNTIF
- angular-material - Angular Material MatPaginator 显示第 0 页,共 0 页
- python - 如何使用 tensorflow-nightly 和 tensorflow 对象检测研究模型构建 docker 镜像
- excel - 有没有办法一起使用countifs和vlookups?
- python - 打印格式化一个只有一个索引位置的元组
- php - PayPal IPN 传递状态重试和 HTTP 响应代码 500