SimformSolutionsPvtLtd / flutter_showcaseview

Flutter plugin that allows you to showcase your features on flutter application. 👌🔝🎉
https://pub.dev/packages/showcaseview
MIT License
1.48k stars 433 forks source link

How to trigger the target's default click behavior. #465

Closed RaymondGsc closed 6 days ago

RaymondGsc commented 1 month ago

Describe the bug Here is my code, I set disableDefaultTargetGestures to false but I found I still cannot trigger the target's default click event. I have to click the target only to dismiss the showcase first , then the target can be clickable.

BTW, the I pass a clickable list to the "child" attribute.

image

pawanbangar commented 1 month ago

@RaymondGsc it might have caused by https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/412 fix PR @aditya-css

aditya-chavda commented 6 days ago

Hi @RaymondGsc, When you set disposeOnTap as true then you have provide onTargetClick and manually handle all the actions (next, dispose, etc). Referring document comment for those properties would help understanding those, please see image attached.

As for your problem's solution, please set disposeOnTap as false and not pass anything for onTargetClick when you desire the default click events.

image