Hi Flutter Community,
I posted a question yesterday and just realized I can do a better job at describing my issue, so here is a better description of it!
I have ListView.builder with horizontal scrolling (a custom top navigation bar). As I scroll to the right, the 'selectedIndex' is changing, but the UI inside this widget isn't showing this change in position (please see screenshot attached/ pink container at the top).
As I swiped right, the 'selected Index' indeed changes, but I'd like to show the position of this change in index as well in my widget. In other words, I'd like the listview to scroll to the right(or left) depending on the selected Index.
How can I achieve this?
Any guidance would mean a lot.
Thanks,
A.V.