Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check/Validation on Swipe/Next #92

Open
philcoffeejunkie opened this issue Dec 15, 2020 · 5 comments
Open

Check/Validation on Swipe/Next #92

philcoffeejunkie opened this issue Dec 15, 2020 · 5 comments

Comments

@philcoffeejunkie
Copy link

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

@duytq94
Copy link
Owner

duytq94 commented Feb 16, 2021

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

@Lirry18
Copy link

Lirry18 commented Sep 26, 2022

Hi @philcoffeejunkie ,

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

@duytq94
Copy link
Owner

duytq94 commented Jan 18, 2023

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

@marcelweigle
Copy link

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

@duytq94
Copy link
Owner

duytq94 commented Apr 20, 2023

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants