onPressed: (){
Navigator.of(context).pushAndRemoveUntil(new MaterialPageRoute(builder: (context) => new MyProduct()), (route) => route == null);
},
//MyProduct改为要跳转的页面就可以了
onPressed: (){
Navigator.of(context).pushAndRemoveUntil(new MaterialPageRoute(builder: (context) => new MyProduct()), (route) => route == null);
},
//MyProduct改为要跳转的页面就可以了