Комментарии:
Mitch, did you notice on (CRUD)📱Read & Display Data... when we save the get_user_name.dart or home_page.. list_view and list tiles getting duplicated and building up a huge list unless we hot reload.. do you know which widget is rebuilding over and over again up on save?
Ответитьhow would i display it normally? for example 'welcome,' + lastName
ОтветитьYo, Mitch you are a Life Saver LY
ОтветитьHello Mitch... would you happen to have a similar video that reads data from realtime database?
ОтветитьGreat content
ОтветитьHi how do I get all the user info on one future builder? Like say I want Jordan and Ronaldo to both be on the same listtile how would I do that
ОтветитьSmall request please add episode number for each video.... so we can watch previous video with going through assumptions..
ОтветитьI got to say,
This is the best tut I have seen. I would by your udemy course if you had one. The way you explain things is awesome. Never understood listview builders until now. Tomorrow I am going to check out the how to implement firebase and how to get the data out.
Thanks again brother. Liked and subscribed!
how can I sync between firestore and auth data
Ответитьhey mitch just tell me what changes shall i do to see the data of just the signed in user
Ответитьhello, explain how to use the chat app with mysql in a video,please
ОтветитьYou're one of the best teachers of Flutter there is! I have a question...let's say you wrapped the List Tile in a Gesture Detector and when you clicked it, it brought you to a new page to display that List Tile information (name, age, etc of that particular user). How would you fetch and display that info on the new page? I have not been able to get an answer anywhere on this. Thanks for your help!
ОтветитьFor people who are getting and issue with adding users to the collection, Just update your collection rules with this : allow read;
allow write: if request.auth != null; , this way you can access the collection data (read/write) if the user is authenticated!!
What you use save status login? Thanks
Ответитьif you want more then one data in your listview builder
List docid=[];
List<String> userprofilelist=[];
_feach() async {
final firebaseUser = await FirebaseFirestore.instance.collection("doctorcollection").get().
then((snapshot) => snapshot.docs.forEach((element) {
docid.add(element.data());
userprofilelist.add(element.reference.id);
}),);
after that you can use it like => docid[index]["name"]
Hey mitch is there a way to display the sub collection of a collection, like if the user collection has a sub collection of his/her friends then how can I display them on the screen
Ответитьhow to read current user details
Ответитьhow to update(edit) data in firebase firestore
ОтветитьI want to display only the data from the current user…how can do it
ОтветитьHow can i do it for a particular user
ОтветитьHey bro I want display all details in profile info page ...and I want one particular user details to be retrieve what can I do now
Ответитьhey man, how can we get the doc id for the current user logged in?
Ответитьso what if i wanted to fetch all email, password, fullname, etc for a profile page?
ОтветитьThank you for your help
But i have a question
How can i take data only for user whose signed in ?
Hello mitch
How i can open iOS emulator in android studio?
Another Question if i want to build iOS app in android studio i will use iOS firebase or android firebase ??
So how can I print this first name
Ответитьmy list got loop 3x .. after remove the initstate it loop 2x
Ответитьthanks, but how do I fetch only the data from the current logged in User?
ОтветитьHey man, great videos! I have a situation: Instead of naming the collection 'users' I'm using the name 'owners', and now I'm getting duplicated docIds with the getDocId Future, even though my Firebase DB does not reflect duplicate data. Any idea of what couldbe causing this behavior?
Thanks!
its very good lessons but some of them is for money and we don't have money to buy it .if you can make it free we will be thankfull
Ответитьwhen you will do for update and Delete ! ..
Ответитьhow to get data from firebase in dropdown
Ответитьcan you do a display about spesific information from currently logged in user?, not just everyone name and ages
ОтветитьHow to get all the data of a single doc id
ОтветитьHi, Whenever I reload the app, the retrieved data displays repeatedly. If I restart the app shows the data in a single time. But once reload the app it shows the same data 3 times. How can we resolve this kind of issue?
Ответить(proceeds to continue)
Ответитьwhy everyone is showing data in a list view but not using particular field, like use name only from a particular document? is it not possible in firestore?
ОтветитьAm very grateful for this video, how I use a data-table instead. THANK YOU.................................
ОтветитьHi man, I have a question. I'm working on a project where I want to list all the users that have the same job that the logged in user has. Job is a required field of every document. Can u tell me how to do it??
Thanks
for all those people asking how to display current users data only . just chnage two things. remove this ( final user= FirebaseAuth.instance.currentUser!;) instead write this(User? user = FirebaseAuth.instance.currentUser;). after that inside ur function change ur collection and write this ( await FirebaseFirestore.instance.collection('listof').where('email', isEqualTo: user?.email).get().then(
(snapshot) => snapshot.docs.forEach((document) {
print(document.reference);
docids.add(document.reference.id);
}),
);
) . after this u will get one error. right click oh the error and change and it will give u an option to add null.. add that and this willget current user data on the basis of email.
Hi Mitch, I am student I can't afford to buy your Flutter UI course I need your help in this regard. Please provide that course for free to me.
Ответитьhey, can you make a video on how to get data of only the current user instead of everyone in the database, if we wanted to make a profile page, then we would want to display data of the current user only
ОтветитьI want to count documents id against age. Like how many documents are there in which age is 77 e.g...how will do that
ОтветитьThank you for the amazing explanation, but I have an issue as I'm new to programming, how can I return one name, without the list...😅 for example hello name
ОтветитьCreate stuff, just subscribed. But I believe you should avoid using forEach in this instance, especially if you want people to understand better. A beginner out there is scratching their head becauses of the forEach loop.
ОтветитьNice tutorial , also make video on show data of subcollection
Ответить