I want to store where the scroll where standing last for example [in the first image][1] I am standing on 02 seconds and when I close this screen and reopen it the selected item return to be 01 and I have to scroll from the beginning
controller: fixedExtentScrollController,
itemExtent: 50.sp,
perspective: 0.003,
diameterRatio: 1.1.r,
physics: const FixedExtentScrollPhysics(),
onSelectedItemChanged: (i){
AppCubit.get(context).changeSelectedTeam(i);
},
childDelegate: ListWheelChildBuilderDelegate(
childCount: 3,
builder: (context,index){
return myTeams(index);
}
)
),```
that is what I wrote
[1]: https://i.stack.imgur.com/3dM6y.jpg