本文实例为大家分享了flutter Container容器实现圆角边框的具体代码,供大家参考,具体内容如下
在这里使用 Container 容器来实现圆角矩形边框效果
1 圆角矩形边框
?...),
height: 50,
width: 300,
//边框设置
decoration: new BoxDecoration(
//背景
color: Colors.white,
//设置四周圆角..."),
),
2 圆角矩形边框
?..."),
),
3 可点击的圆角矩形边框
?..."),
)),
),
),
),
4 可点击的圆角矩形边框
?