flutter 边框 BoxDecoration InputDecotation

原创
2018/12/08 11:30
阅读数 936
    Container(
            decoration: new BoxDecoration(
              border: new Border.all(
                width: 1.0,
                color: Colors.grey,
              ),
            ),
            child:Text("aaa")
}

还有取消边框的

decoration: InputDecoration(border: InputBorder.none,fillColor: Colors.red),

 

展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部