title: how to show original size of an image on tapping on gridView tile
body: <ol>
  <li>gridview has tile with image : cachedNetworkImage(widget.post.mediaUrl &gt;&gt; this code works fine</li>
  <li>on tapping the tile, I want to show original size or bigger image of a tile as images are arranged in gridview and are small.</li>
  <li>to test I added onTap() and returning a scaffold with test image but it is doing nothing on tap ( except printing line 19) .</li>
  </ol>
  <p>questions :</p>
  <ol>
  <li>what do I need to show the actual post image ?</li>
  <li>not sure why scaffold is not returned on tap ?</li>
  </ol>
  <pre><code>        class _PostTileState extends State&lt;PostTile&gt; {
            @override
            Widget build(BuildContext context) {
              return GestureDetector(
                child: cachedNetworkImage(widget.post.mediaUrl),
                onTap: () {
                  print(&quot;line19&quot;);
                  return Scaffold(
                      body: GestureDetector(
                    child: Container(
                      child: Hero(
                        tag: 'imageHero',
                        child: Image.network(
                          'https://picsum.photos/250?image=9',
                        ),
                      ),
                    ),
                    onTap: () {
                      Navigator.pop(context);
                    },
                  ));
                },
              );
            }
  </code></pre>