inkwell专题

flutter中InkResponse和InkWell取消水波纹的方法

因为InkWell继承自InkResponse,因此这里只以InkResponse来进行分析。 第一种方法: 在InkResponse外围添加Container,然后在Container中添加color属性,例子如下: return Scaffold(     appBar: AppBar(       title: Text("title"),     ),     body: Conta