How to solve the problem of high error reporting in flutter listview nested gridview?

how to solve the problem of high error reporting in flutter listview nested gridview?

body: new ListView(
          children: <Widget>[
            new HomeSearch(),
            new HomeSwiper(images: images),
            new Product(),
            new GridView.count(
              physics: new NeverScrollableScrollPhysics(),
              crossAxisCount: 3,
              children: <Widget>[
                new Text("123"),
                new Text("123"),
                new Text("123"),
              ],
            )
          ],
        ),

Jun.20,2022

add the shrinkWrap attribute to GridView and set it to true

Menu