1

I have a problem in singleChildScrollView. Below is my code:

return Scaffold(
 body:SingleChildScrollView(
  child:
    Column(
    children:[
    //...
    Container(height:500,child:listview.builder())
      ],
    //...    
    )),
);

What I want is to keep on scrolling the children of Column inside the singleChildScrollView when the items of listview.builder are ended. Alternatively, I cant even remove the container (the parent of listview.builder) it causes rendering error. If the question in not clear, please ask me. I'll explain. Kindly help :(.

Student
  • 341
  • 1
  • 2
  • 12
  • Your question is not clear. – Zakaria Hossain Mar 11 '22 at 18:16
  • I dont want to stop scrolling the listview items. If the items of listview are ended, the swiping should scroll the children of singlechildscrollview. – Student Mar 12 '22 at 04:42
  • Don't use more than one vertical scrolling view like SingleChildScrollView, Listview, it will cause unexpected scrolling behavior. Try to use physics: NeverScrollableScrollPhysics() with out your SingleChildScrollView or Listview. – Zakaria Hossain Mar 12 '22 at 08:15
  • @ZakariaHossain does that apply to my scroll issue then? https://stackoverflow.com/questions/72747311/flutter-singlechildscrollview-is-taking-over-scrolling-with-child-mapview-widget – Petro Jul 01 '22 at 02:19

0 Answers0