skip to Main Content

how to get snapshot all in an array flutter firebase cloud

I am trying to get all of the data info. in my firebase cloud firestore but am still struggling with the code: StreamBuilder<DocumentSnapshot?>( stream: FirebaseFirestore.instance .collection("groups") .doc(groupId) .snapshots(), builder: (context, snapshot) { return GridView.builder( gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( crossAxisCount: 2, ),…

VIEW QUESTION
Back To Top
Search