You can scroll through a ListView
using a ScrollController
.
final scrollController = ScrollController();
// ...
ListView(controller: scrollController // ...
);
// ...
scrollController.animateTo(height, duration: Duration(milliseconds: 678),
curve: Curves.ease);
You will have to determine the height yourself. That could be done using the index of your item and the general item height.
There is a full example available here.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…