Closed erperejildo closed 3 months ago
Hello @erperejildo , The onTargetClick
parameter is only triggered during the showcase event. If you want to perform any action when clicking the widget without a showcase, you can use the onPressed method for that.
The default onClick behaviour for showcase is provided and can be disabled by setting the disableDefaultTargetGestures
parameter to false. Therefore, the triggerElementClick
parameter you mentioned already has an parameter, disableDefaultTargetGestures
with opposite behaviour.
Closing the issue, please feel free to let me know if you need any help with this.
@rashi-simform could you provide the implementation, I can't figure it out. I want to click on the element (not anywhere else) and trigger that element onTap()
without calling it manually. After being triggered, I display the next showcase element
It sounds pretty simple, but I don't know how I could do such a thing. Considering I have this widget:
WhatEver is not a simple element like:
it is a bunch of different elements with more than one option to click, so I don't know exactly which button is going to be clicked.
So, can I have something like
triggerElementClick: true
or similar?