title: Flutter Multiple Heroes That Share The Same Tag Within A Subtree
body: <p>I am trying to have a hero animation from  a post view screen to a full screen post view. As far as I can see, it seems quite normal(my code) and I don't really understand why I am getting this error...</p>
  <p>I don't have any other Hero widgets in my code, so I cannot see why I should be getting this error...</p>
  <p>Here is the error I am getting:</p>
  <pre><code>There are multiple heroes that share the same tag within a subtree.
  </code></pre>
  <p>Here is my code:</p>
  <pre><code>Stack(
              alignment: Alignment.center,
              children: &lt;Widget&gt;[
                Hero(
                  tag: 'test',
                  child: Container(
                    height: MediaQuery.of(context).size.width,
                    child: Padding(
                      padding: const EdgeInsets.all(6.0),
                      child: Align(
                        alignment: Alignment.topRight,
                        child: Container(
                          decoration: BoxDecoration(
                            color: Colors.grey.shade400.withOpacity(0.5),
                            borderRadius: BorderRadius.circular(12.0),
                          ),
                          width: 120,
                          height: 40,
                          child: ListView.builder(
                            scrollDirection: Axis.horizontal,
                            itemCount: 3,
                            itemBuilder: (BuildContext context, int index) {
                              return _configureEmoji(index);
                            },
                          ),
                        ),
                      ),
                    ),
                    decoration: BoxDecoration(
                      image: DecorationImage(
                        image: CachedNetworkImageProvider(widget.post.imageURL),
                        fit: BoxFit.cover,
                      ),
                    ),
                  ),
                ),
              ],
            ),
  </code></pre>
  <p>Here is where I want the hero animation to go to:</p>
  <pre><code>class FullScreenView extends StatelessWidget {
    final String imageURL;
    FullScreenView({this.imageURL});
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: Hero(
          tag: 'test',
          child: Container(
            width: MediaQuery.of(context).size.width,
            height: MediaQuery.of(context).size.height,
            decoration: BoxDecoration(
              image: DecorationImage(
                image: CachedNetworkImageProvider(imageURL),
                fit: BoxFit.cover,
              ),
            ),
          ),
        ),
      );
    }
  }
  
  </code></pre>
  <p>Thanks a lot and I really appreciate your help!</p>