DEV Community

Discussion on: Flutter Web: Firebase Storage

Collapse
 
svongripp profile image
svongripp

Hey, thanks for the article!

Any idea how to go about streaming FireStore data to a list in Flutter web?

Collapse
 
happyharis profile image
happyharis

Are you getting from a collection or documents?

If collection firestoreData.snapshot.map((data) => data.docs.map((doc)=> doc.data))).toList()

If documents, just add in manually in a list like list.insert(data)