flutter_showcaseview icon indicating copy to clipboard operation
flutter_showcaseview copied to clipboard

.next() and .previous() is not working

Open haoyuant opened this issue 4 years ago • 3 comments

I want to present each showcase when a specific even arises, instead of going through the whole showcases by clicking. But when I tried .startShowCase([_one, _two, _three]);, after this calling .next() or .previous didn't do anything. I also tried splitting to .startShowCase([_one]);, .startShowCase([_two]); and .startShowCase([_three]); but the two methods were still not working.

haoyuant avatar Mar 07 '22 13:03 haoyuant

@haoyuant : Can you please share more detail or your code. It would be great if you share your steps.

ShwetaChauhan18 avatar Mar 09 '22 14:03 ShwetaChauhan18

setState(() { bottomNavigationitemindex = index + 1 });

                  ShowCaseWidget.of(_showCaseContext!)!.next();

Please try this logic. With setstate it does not work. Showcase widget is hidden.

lolitaCrastaAcko avatar Apr 27 '22 12:04 lolitaCrastaAcko

Hi @lolitaCrastaAcko , Could you please share full sample code snippet in which you are facing this issue? It will be very much helpfull for us to invastigate the issue.

Thanks

vatsaltanna avatar Aug 21 '22 06:08 vatsaltanna

Because of inactivity closing this issue. feel free to reopen this is if you still face this issue in latest version of the package.

vatsaltanna avatar Oct 01 '22 16:10 vatsaltanna