How to Scroll to a Specific ListView Item on Button Click?

Actions & Logic

I have a dynamic list of categories displayed in a row, and below it, I have a ListView showing items related to each category. When a user clicks on a category button, I want the ListView to scroll to the section where the items of that category start.- Refer to video posted in "What have you tried so far section" for clear understanding. For eg- In image when i click on banana btn it should scroll to that listview.

What have you tried so far?
  • Used Collections and Subcollections to structure the data.

  • Displayed the categories as buttons in a row above the ListView.

  • Tried using Action โ†’ Scroll To but couldn't get it to work as expected.

    ffissue10.mp4
    3.37MB

Did you check FlutterFlow's Documentation for this topic?
Yes
2
1 reply