【发布时间】:2023-01-18 17:58:17
【问题描述】:
孩子:卡( 海拔:10, 孩子:容器( 装饰:BoxDecoration( 颜色:Colors.black87, borderRadius: BorderRadius.circular(7)), 身高:50, 宽度:50, 边距:EdgeInsets.all(5), 孩子:中心( 孩子:文字( "${toplist[index]}".toUpperCase(), 样式:文本样式( 字体大小:20, fontFamily:“常规”, 颜色:Colors.white, fontWeight: FontWeight.bold), )), ), ),
每次更改 gridview 中文本的值并更改容器大小时,我都会在每个随机文本上获得容器的固定大小。
【问题讨论】:
标签: flutter