Problem description
When use the argument initialScrollIndex on ScrollablePositionedList, the values of itemPositionsListener not represent the correct values showed on scroll list. If the initialScrollIndex set on 0 the itemPositionsListener returns the correct values.
Steps to reproduce
- Create a
ScrollablePositionedList with 100 elements;
- Adding listiner on
itemPositionsListener to see the positions elements when scroll list;
- Set the
initialScrollIndex if any value where index is not visible initialy on list. (example: 50);
- Scroll the list to index 0;
Demostration

Expected behavior
- The first element on
positions need represents the first element showed on list.
- The last element on
positions need represents the last element showed on list.
Actual behavior
- The first element on
positions not represents the first element showed on list, in the Demostration the index of first element is 9 but the true index of first element showed on list is 0.
- The last element on
positions not represents the first element showed on list, in the Demostration the index of first element is 0 but the true index of last element showed on list is 9.
Environment
scrollable_positioned_list: ^0.3.8

Problem description
When use the argument
initialScrollIndexonScrollablePositionedList, the values ofitemPositionsListenernot represent the correct values showed on scroll list. If theinitialScrollIndexset on 0 theitemPositionsListenerreturns the correct values.Steps to reproduce
ScrollablePositionedListwith 100 elements;itemPositionsListenerto see the positions elements when scroll list;initialScrollIndexif any value where index is not visible initialy on list. (example: 50);Demostration
Expected behavior
positionsneed represents the first element showed on list.positionsneed represents the last element showed on list.Actual behavior
positionsnot represents the first element showed on list, in the Demostration the index of first element is 9 but the true index of first element showed on list is 0.positionsnot represents the first element showed on list, in the Demostration the index of first element is 0 but the true index of last element showed on list is 9.Environment
scrollable_positioned_list: ^0.3.8
