InkWell
组件去掉点击的水波纹效果:
将highlightColor
和splashColor
属性设置为透明色即可,代码如下:
InkWell(
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
)
InkWell
组件去掉点击的水波纹效果:
将highlightColor
和splashColor
属性设置为透明色即可,代码如下:
InkWell(
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
)
本文标题:flutter InkWell组件去掉点击的水波纹效果
本文链接:https://www.haomeiwen.com/subject/ngcxudtx.html
网友评论