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

Scroll to index #11

Closed
KennyChan94P opened this issue Oct 26, 2020 · 3 comments
Closed

Scroll to index #11

KennyChan94P opened this issue Oct 26, 2020 · 3 comments

Comments

@KennyChan94P
Copy link

hi, first of all, very happy to use this plugin and it is really easy to implement to my project. but i would like to know, is there a "scroll to index" functionality like after we click on the notification with list item id, i want to scroll my list to the list item.
Thanks in advance.

@EdsonBueno
Copy link
Owner

Hi @KennyChan94P , thank you for your kind words!
You could implement that in the same way you would do it with a regular ListView in Flutter, but using PagedListView instead. I can't point you to a specific approach because there are several, but a quick search on Google or StackOverflow will help you with that.
That functionality is not covered in our docs because it's nothing specific to pagination or infinite scrolling.

Thank you for opening the issue! If you still have any doubts, please chat me.

@brax10ward
Copy link

brax10ward commented Oct 28, 2021

The scroll_to_index package worked for me.

@Nitingadhiya
Copy link

@brax10ward @EdsonBueno
I've used "scroll_to_index" package but in that case we have to add height on Widget. so how we can set it?
Because In my case I don't know height for every list of widget.

Can you please support us, how we can fix 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