Flutter-ListView
2024-10-07 13:53:29
return Container(
child: ListView(
children: <Widget>[
Column(
children: <Widget>[
Container(
child: Text('午餐'),
),
Container(
height: 100,
child: ListView(
scrollDirection: Axis.horizontal,//橫向
children: <Widget>[
Container(
width: 150,
height: 50,
color: Colors.black,
),
Container(
width: 150,
height: 50,
color: Colors.blue,
),
Container(
width: 150,
height: 50,
color: Colors.redAccent,
),
Container(
width: 150,
height: 50,
color: Colors.amber,
),
],
),
),
],
),
],
),
);
最新文章
- CompiledEffect Direct3D9 Sample fxc.exe
- SubSonic3.0.0.4.2源码包与调用Dll
- Linux进程间通信(七):消息队列 msgget()、msgsend()、msgrcv()、msgctl()
- 【转】Using Gamma 2.2
- 边工作边刷题:70天一遍leetcode: day 85
- SharePoint自动化系列——Add/Remove ";Record"; from items
- DB2对年份的处理Year()
- redisb并发访问慢出现的问题
- php导出execl
- PyCharm 4.0下载(附keygen)
- ngrok内网穿透神器
- javascript语句语义大全(6)
- chrome浏览器iframe兼容性问题,隐藏起来再显示滚动条消失?
- Awk,Cat,Head分析Nginx日志常用命令
- ●BZOJ 4665 小w的喜糖
- 浅谈Java中的equals和==与hashCode
- 二:vlan,gre,vxlan
- [2017BUAA软工助教]个人项目测试结果
- github上传时出现error: src refspec master does not match any解决办法22
- The connection string &#39;MysqlEF&#39; in the application&#39;s configuration file does not contain the require异常