0

I have a SingleChildScrollView, its scrollDirection is set to Vertical with number children widgets placed inside a ListView.bulder Widget. I want to programmatically scroll to the middle widget in the ListView and when the middle widget is reached(waits 2 seconds).

Scroll specific item in SigleChildScrollView.

Hossain72
  • 19
  • 3
  • `SingleChildScrollView` only has one child. You want to scroll to specific item in `ListView`. And why do you have `ListView` inside `SingleChildScrollView`? – Qori Dec 12 '22 at 04:03
  • Because My design has some widgets with ListView in SingleChildScrollView . – Hossain72 Dec 12 '22 at 05:36
  • this seems like a duplicate of this question. https://stackoverflow.com/questions/49153087/flutter-scrolling-to-a-widget-in-listview – user1805015 Dec 12 '22 at 05:39

0 Answers0