在flutter中实施英雄动画时出错

因此,我试图使自行车详细信息UI混乱,但似乎无法使英雄动画正常工作。首先,我列出了一张带有图像的自行车清单,按下该按钮会显示详细信息。我试图在导航到另一页的同时向图像添加英雄动画,但是我却出现错误 “子树中有多个共享相同标签的英雄。”

when pressing the image the screen navigate to another page

     Padding(
                  padding: const EdgeInsets.symmetric(
                      horizontal: 10.0, vertical: 6.0),
                  child: GestureDetector(
                        onTap: () {

                          Navigator.push(
                              context,
                              PageRouteBuilder(
                                  pageBuilder: (context, a, b) =>
                                      DetailsOfNewBikes(value: item)));
                        },
                        child: Hero(
                          tag:'back',
                                                      child: Container(
                                decoration: BoxDecoration(
                                  image: DecorationImage(
                                    image: NetworkImage(
                                      item.bikeimage,
                                    ),
                                    fit: BoxFit.cover,
                                    colorFilter: ColorFilter.mode(
                                      Colors.black26,
                                      BlendMode.darken,
                                    ),
                                  ),
                                  borderRadius: BorderRadius.circular(10.0),
                                  color: Colors.grey,
                                ),
                                    ),
                        )))

以及图片中的下一页我使用了具有相同标签的hero

                  child: new Column(
                children: <Widget>[
                  Hero(
                    tag:'data',
                                          child: Container(
                                            child: Padding(

                      child: Image.network('${widget.value.bikeimage}'),
                      padding: EdgeInsets.symmetric(horizontal: 0.0),
                    ),
                                          ),
                  ),
                  SizedBox(
                    height: 5,
                  ),
                ],
              ),