initialIndex property
Function that returns the initial index to scroll to.
fetchNext is called with the index specified by initialIndex during initialization.
If a value less than 0 is returned, it is set to 0.
In the case of a GridView, it is rounded to a multiple of crossAxisCount.
Implementation
final int Function()? initialIndex;