Flutter : ListView : Scroll parent ListView when child ListView reach bottom - ClampingScrollPhysics not working in sized container

后端 未结 3 1675
醉酒成梦
醉酒成梦 2021-01-03 11:54

I\'m using Flutter version 1.12.13+hotfix.

I\'m looking for a solution to be able to scroll inside a ListView and when reached the bottom, automatically give scroll

3条回答
  •  时光取名叫无心
    2021-01-03 12:16

    Usually when I come across an issue like this, I use SingleChildScrollView with a column as the child, and then whatever I want as the children of that column. Here's some demo code.

    SingleChildScrollView
    (
      child: Column
      (
        children:
        [
         /* Your content goes here. */
        ]
      )
    )
    

    Let me know if that fits your use case

提交回复
热议问题