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

Showcase overlays on next page even after completion #421

Closed Wolfof420Street closed 4 months ago

Wolfof420Street commented 4 months ago

Describe the bug After viewing the showcase one page, when I navigate to another page, the Showcaase still overlays on the next page on widgets that are not in the current context.

To Reproduce Steps to reproduce the behavior: 1.Start ShowCase

  1. Complete Showcase
  2. Navigate to next page
  3. See error

Expected behavior Showcase is dismissed once I navigate to a new page.

aditya-css commented 4 months ago

Hello @Wolfof420Street, Please make sure to call ShowCaseWidget.of(context).dismiss() before you navigate to the next page, or if you are using onTargetClick then make sure to pass disposeOnTap as true. Closing this issue with this comment, feel free to reopen if the provided solution doesn't work for you.