indexToScrollOffset method

double indexToScrollOffset (int index)

Returns the scroll offset of the child with the given index.

Implementation

double indexToScrollOffset(int index) => index * itemExtent;