i want to get the document based on the value of the list
showed in :
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack Internali want to get the document based on the value of the list
showed in :
showed in :
i want to get the document based on the value of the list
showed in :
i have a list of strings showed in listveiw.builder widget i want to get the document info from firebase when i press on a single word
var words = [red,blue,green,yellow] ;
showed in :
ListView.builder( itemCount: words.length, itemBuilder: (context, index) { return Column( children: [ Row( children: [ Expanded( flex: 3, child: InkWell( onTap: () {}, child: Text('${words[index]}'), ), ), Expanded( flex: 1, child: InkWell( onTap: () { // press this and get the data of {words[index]} document }, child: Text( 'press to get color info', ), ), ), ], ), Text( show the data here after fetching it from firestore) ], ); }, )