Retrieve data from Firebase upon User Interaction

I have listed my Firebase data with code below: StreamBuilder( stream: Firestore.instance.collection(‘GS’).snapshots(), builder: (context, snapshot){ if(!snapshot.hasData) return Text(‘Loading data’); return Column( crossAxisAlignment: CrossAxisAlignment.start, children: <Widget>[ ListTile( leading: Image.asset(“assets/GS.png”, scale: 5.0,), onTap: (){Navigator.pop(context, Answers.GS);}, //Answers.GS will be selected. title: Text(snapshot.data.documents[0][‘man’], //A string from database. After selection, I would like to show this string. ), ), ],…

Details