Home > Software engineering >  ListView goes up and down when i scroll it - flutter
ListView goes up and down when i scroll it - flutter

Time:06-29

I made a listview on flutter but it goes up and down when I scroll it

things I already tried:

  • Changing the expanded to a container with a limited height
  • add the shrinkwrap parameter

https://drive.google.com/file/d/1OwFkEd-zqk5z5wF1eBUsjlpSWmbql3vZ/view?usp=sharing

CodePudding user response:

You do not show code, but I guess, You use kind a scrollview. You can try add parameter: physics = NeverScrollableScrollPhysics(), to ListView widget.

CodePudding user response:

To change the axis of scroll use

scrollDirection: Axis.horizontal,
  • Related