I have some kind of tab bar inside. I've implemented it with horizontal ListView. Whole page content is inside the vertical scroll view.
When clicking on the "Third tab" I need to scroll to it to show the full name. Problem is that ListView doesn't have scroll-to-item method. Some other possiblities:
Scrollable.ensureVisible(context)almost works but the problem is that it will scroll vertical list too which I don't want. And I don't see a way to prevent that.
- Using scrollable_positioned_list package, will scroll as the item should be in the first position resulting in a huge overscroll bounce on iOS device. This method is missing something like
ScrollPositionAlignmentPolicy.keepVisibleAtStartthat ensureVisible has.
- The items are not fixed width so that rules out several solutions.