flutter button
2023-01-30 本文已影响0人
neobuger
去除水波纹
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),
)
),
)
],
)
)