Skip to content

OnTap is triggered automatically #115

Locked Answered by prateekmedia
MALLORY8K asked this question in Q&A
Discussion options

You must be logged in to vote

@MarcelHH
Firstly, convert

onTap: myFunction(),

to

onTap: myFunction,

as it only accepts VoidCallbacks and not a function as a whole.

Secondly it doesn't seems related to this library rather it seems you are calling this function somewhere else in your code, you can easily find it by searching for

myFunction()

If you find the error then you can close this issue, else you can write what you did and what didn't work.

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by prateekmedia
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #109 on March 05, 2021 09:57.