Home > OS >  Flutter Question: OnTap and OnHover works together?
Flutter Question: OnTap and OnHover works together?

Time:11-11

Im trying to use onHoover and onTap of a inkwell widget, but not OnHoover together with onTap doesn't work

I tried various combination, but with no success. please help.

CodePudding user response:

I'm not sure if I understand your question,

but you can't use onHover without onTap.

But you can make onTap like this onTap: () {} // <- doesn't do anything when clicked

CodePudding user response:

I'm not sure what you are trying to archive but may be you can use GestureDetector widget see if it can work

  • Related