getMinChildIndexForScrollOffset method
- double scrollOffset
override
The minimum child index that intersects with (or is after) this scroll offset.
Implementation
@override
int getMinChildIndexForScrollOffset(double scrollOffset) {
return mainAxisStride > precisionErrorTolerance ? crossAxisCount * (scrollOffset ~/ mainAxisStride) : 0;
}