问题描述
我希望所有项目都在底部,如果容器很大,应该在顶部添加填充。我想要这样的网格 https://ibb.co/zrRQ8Hz 但我能够实现这个 https://ibb.co/2820csg .
我写的代码如下:
Container(
margin:
new EdgeInsets.all(
1.0),alignment:
Alignment.center,decoration: BoxDecoration(
borderRadius:
BorderRadius
.circular(5),border: Border.all(
color: Color(0XFFc3c3c3)),),child: Column(
children: [ SizedBox(
height: 5,RichText(
text: TextSpan(children: [
TextSpan(
text: "\u{20B9} ",TextSpan(
text: “100”,])),SizedBox(
height: 5,Container(
width: double
.infinity,color: Color(0XFFc3c3c3)),child: Center(
child: Text(
"Most Value",style: TextStyle(
color: Colors
.white),)),],)
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)