autoScrollToIndex property

int? autoScrollToIndex
final

Optional index to auto-scroll to when the widget first builds. The value will be clamped to the valid child range; the widget computes the corresponding row and instructs the inner list to scroll to that row.

Implementation

final int? autoScrollToIndex;