is there a way to disable the inkwell click feature? (I don't want to make it conditional with if and else in onTap, I want it not to be clickable at all).
CodePudding user response:
When you do not pass the onTap
function it will be non-clickable,Try this:
InkWell(
child: Text('click'),
)
CodePudding user response:
Simply don't give it an onTap
. Leave it out