indexToScrollOffset method
Returns the scroll offset of the child with the given index.
Implementation
double indexToScrollOffset(int index) => index * itemExtent;
Returns the scroll offset of the child with the given index.
double indexToScrollOffset(int index) => index * itemExtent;