去除水波纹
IconButton
highlightColor: Colors.transparent,
splashColor: Colors.transparent,
TextButton
TextButton(
onPressed: () {
},
style: ButtonStyle(
overlayColor: MaterialStateProperty.all<Color>(Colors.transparent),
),
child: Row(
children: [
Expanded(
child: Text(
"请选择",
textAlign: TextAlign.start,
style: TextStyle(color: Color(0xff666666),
)
),
)
],
)
)
网友评论