Shreyz
Shreyz

Reputation: 107

Flutter Question: OnTap and OnHover works together?

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.

Upvotes: 0

Views: 84

Answers (2)

waka
waka

Reputation: 41

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

Upvotes: 1

TheHumanItSelf
TheHumanItSelf

Reputation: 131

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

Upvotes: 2

Related Questions