It is forbidden to scroll the scroll event of the component and to disable scrolling


Problems encountered:The rebound (bottoming) of listview on the outermost layer of the home page conflicts with the rebound (bottoming) of the GridView component of the commodity classification inside, which leads to drop-down refresh and pull-up loading bugs

solve the problem:Configure the physics property to: neverscrollablescrollphysics ()

class Nav extends StatelessWidget {
  Widget build(BuildContext context) {
    return GridView.count(
      physics: NeverScrollableScrollPhysics(),
      crossAxisCount: 5,
      children: <Widget>[
        //Sub project content

In this way, GridView can’t scroll. The effect is similar to the following:

    spacing: 20,
    Children: XXX // sub project content