flutter 按钮点击后的样式

FlatButton( // FlatButton 这个按钮点击后是不出现边框的
  highlightColor: Colors.transparent, // 按下时的颜色 
  splashColor: Colors.transparent, // 点击后的 水波纹颜色,按下松开会有水波纹效果 child: Text("")
)

 

posted @ 2020-10-28 16:25  lude1994  阅读(1306)  评论(0编辑  收藏  举报