一个表现圆形加载动画
CircularProgressIndicator(
value: timeLeft / 2000,
strokeWidth: 3,
valueColor: const AlwaysStoppedAnimation<Color>(
Colors.white),
backgroundColor: Colors.transparent,
)
随机数
Random()
.nextInt(3) :0-3
map自遍循环历
Column(children: List.map<Widget>((data) => container()).toList())
扩展剩下的空间
Expanded(
child: Row/Column/SingleChildScrollView // ...其他的组件打包正式版会空白
)
页面滚动
SingleChildScrollView(
child: Column()
)
占用剩下的空间
Expanded(
child: SizedBox()
)
咕咕咕
ddd