flutter-intro-slider icon indicating copy to clipboard operation
flutter-intro-slider copied to clipboard

Check/Validation on Swipe/Next

Open philcoffeejunkie opened this issue 4 years ago • 5 comments

Hi!

Is there a recommended/best practice way for hooking into the goToTab() method?

What I like to do is to perform a validation, before a user can proceed to the next slide, like for example a login or license code check.

I tried to solve this with refFuncGoToTab - but I couldn't get it to work and I didn't find further documentation about it...

I can offer to implement this myself and make a pull request if you like and think it would be in scope for your plugin.

Cheers, Phil

philcoffeejunkie avatar Dec 15 '20 18:12 philcoffeejunkie

Hi, This is a good implementation, I am very pleased if you can make a pull request for this.

duytq94 avatar Feb 16 '21 02:02 duytq94

Hi @philcoffeejunkie ,

Did you develop this? I am having the same problems with refFuncGotoTab..

Lirry18 avatar Sep 26 '22 12:09 Lirry18

Hi @Lirry18 please expand the code example section at https://github.com/duytq94/flutter-intro-slider#custom-layout and search the keyword refFuncGoToTab

duytq94 avatar Jan 18 '23 03:01 duytq94

I am also having the same problem. Any example of how to hook in?

marcelweigle avatar Apr 19 '23 17:04 marcelweigle

@marcelweigle please go here https://github.com/duytq94/flutter-intro-slider#custom-layout, expand the Code example section, and you will get the example of how to use it.

duytq94 avatar Apr 20 '23 13:04 duytq94