ListView嵌套时高度无法自适应,需要设置高度才可以显示,设置以下属性可以解决上述问题

        shrinkWrap: true,
        physics: NeverScrollableScrollPhysics(),

相关文章: