How to show ripple effect on Container as IconButton child in Flutter?

后端 未结 0 1998
-上瘾入骨i
-上瘾入骨i 2021-01-25 03:01

Standard IconButton doesn\'t show any ripple effect on child:

IconButton(
 icon: Container(color: Colors.red,),
 onPressed: () {},
)

So I tried f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题