Relative Content

Tag Archive for flutterfirebasegoogle-cloud-firestore

Accessing a different controller from the one you are on in Flutter

I have users who can sign up and their info logged into firestore creating a collection for Restaurants, I then have within the app three different users who all create their own collections under restaurants collection. Under each user they have their own subcollections. Problem is that I would like to access the restaurants foods collection and the deliverers from the Users collection.

Firebase query for a collection with array of maps returns not working [duplicate]

This question already has answers here: Firestore to query by an array’s field value (4 answers) How to Query within an array of object in Firestore? [duplicate] (1 answer) Firestore – query where filter of object in array field (1 answer) Closed yesterday. I am trying to query my Firebase database. I wrote the following […]

Data display the same to every collection created

I created in flutter a fitness app and I am on my profile screen. I want the user to show another data when a new category is created, I will show the issue here : https://imgur.com/a/XiStzun
Here it’s the code for the page where workout schedule appears and all widgets( most essentially because all code doesn’t fit)

Data display the same to every collection created

I created in flutter a fitness app and I am on my profile screen. I want the user to show another data when a new category is created, I will show the issue here : https://imgur.com/a/XiStzun
Here it’s the code for the page where workout schedule appears and all widgets( most essentially because all code doesn’t fit)