title: Transferring Snapshot data to another widget
body: <p>I am building a GridView from Firebase as per the below.  You will notice that I am routing to DetailScreen() Stateless Widget when one of the cards is clicked.</p>
  <p>This all works fine with a static image, however I would like to display the same URL successfully loaded is item['thumb'] from the snapshot in the Image.network within DetailScreen.</p>
  <pre><code>body: StreamBuilder&lt;QuerySnapshot&gt;(
      stream:
          FirebaseFirestore.instance.collection('collection').snapshots(),
              builder: (context, snapshot) {
                if (snapshot.hasData) {
                  return GridView.builder(
                    itemCount: snapshot.data.docs.length,
                    gridDelegate: SliverGridDelegateWithFixedCrossAxisCount(
                        crossAxisCount: count),
                    itemBuilder: (BuildContext context, int index) {
                      var item = snapshot.data.docs[index];
                      return Card(
                        semanticContainer: true,
                        clipBehavior: Clip.antiAliasWithSaveLayer,
                        child: InkWell(
                          onTap: () {
                            Navigator.push(context,
                                MaterialPageRoute(builder: (_) {
                              return DetailScreen();
                            }));
                          },
                          child: Image.network(
                            item['thumb'],
                            fit: BoxFit.cover,
                          ),
                        ),
                      );
                    },
                  );
                } else
                  return Text(&quot;No Data&quot;);
              }));
    }
  }
  
  class DetailScreen extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        body: GestureDetector(
          child: Center(
            child: Hero(
              tag: 'imageHero',
              child: Image.network(
                'Image From Firebase To Be Entered Here',
              ),
            ),
          ),
          onTap: () {
            Navigator.pop(context);
          },
        ),
      );
    }
  }
  </code></pre>
  <p>I am unsure as to how to go about transferring the snapshot data across into the new widget?</p>