(CRUD)Read & Display Data • Firebase x Flutter Tutorial

(CRUD)Read & Display Data • Firebase x Flutter Tutorial

Mitch Koko

2 года назад

78,421 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@writecode9932
@writecode9932 - 29.11.2023 14:13

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?

Ответить
@anathadenver6027
@anathadenver6027 - 25.11.2023 18:13

how would i display it normally? for example 'welcome,' + lastName

Ответить
@supitsparth
@supitsparth - 11.11.2023 22:14

Yo, Mitch you are a Life Saver LY

Ответить
@mafubekojoana426
@mafubekojoana426 - 22.10.2023 18:18

Hello Mitch... would you happen to have a similar video that reads data from realtime database?

Ответить
@sputyhighlights
@sputyhighlights - 15.10.2023 07:04

Great content

Ответить
@leonardkabasa1902
@leonardkabasa1902 - 04.10.2023 10:39

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

Ответить
@charan2446
@charan2446 - 29.09.2023 06:04

Small request please add episode number for each video.... so we can watch previous video with going through assumptions..

Ответить
@vijaypanday7290
@vijaypanday7290 - 13.09.2023 22:04

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!

Ответить
@memet7186
@memet7186 - 08.09.2023 17:16

how can I sync between firestore and auth data

Ответить
@tejasdashpute1787
@tejasdashpute1787 - 21.08.2023 19:37

hey mitch just tell me what changes shall i do to see the data of just the signed in user

Ответить
@AlisherMahammadjonov-wn7yl
@AlisherMahammadjonov-wn7yl - 17.08.2023 19:12

hello, explain how to use the chat app with mysql in a video,please

Ответить
@FullStackDad
@FullStackDad - 06.08.2023 10:07

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!

Ответить
@learnwmalik
@learnwmalik - 08.05.2023 17:22

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!!

Ответить
@hyphenvlog1328
@hyphenvlog1328 - 23.04.2023 13:13

What you use save status login? Thanks

Ответить
@user-np8jf7lq8v
@user-np8jf7lq8v - 20.04.2023 18:31

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"]

Ответить
@stanleyvudikala
@stanleyvudikala - 09.04.2023 09:41

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

Ответить
@mouse6228
@mouse6228 - 09.03.2023 09:17

how to read current user details

Ответить
@madharrygaming4531
@madharrygaming4531 - 25.02.2023 17:16

how to update(edit) data in firebase firestore

Ответить
@christopherzoungrana2366
@christopherzoungrana2366 - 20.02.2023 01:04

I want to display only the data from the current user…how can do it

Ответить
@christopherzoungrana2366
@christopherzoungrana2366 - 20.02.2023 01:04

How can i do it for a particular user

Ответить
@santhosemaha2483
@santhosemaha2483 - 15.02.2023 21:17

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

Ответить
@RisabTajale
@RisabTajale - 12.02.2023 09:45

hey man, how can we get the doc id for the current user logged in?

Ответить
@ItsMe-rl7dt
@ItsMe-rl7dt - 23.01.2023 16:43

so what if i wanted to fetch all email, password, fullname, etc for a profile page?

Ответить
@abdullahmoftah5051
@abdullahmoftah5051 - 25.12.2022 19:42

Thank you for your help

But i have a question
How can i take data only for user whose signed in ?

Ответить
@HH-ip5zc
@HH-ip5zc - 22.12.2022 22:51

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 ??

Ответить
@leonardkabasa1902
@leonardkabasa1902 - 19.12.2022 15:32

So how can I print this first name

Ответить
@muhammadamiruddin4590
@muhammadamiruddin4590 - 18.12.2022 21:10

my list got loop 3x .. after remove the initstate it loop 2x

Ответить
@natalieheinze8715
@natalieheinze8715 - 18.12.2022 16:45

thanks, but how do I fetch only the data from the current logged in User?

Ответить
@felixalfonsocovarrubiasper5340
@felixalfonsocovarrubiasper5340 - 10.12.2022 06:10

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!

Ответить
@armanjhassan9594
@armanjhassan9594 - 14.11.2022 20:09

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

Ответить
@mohamedbayoumy9510
@mohamedbayoumy9510 - 31.10.2022 17:05

when you will do for update and Delete ! ..

Ответить
@mytech7166
@mytech7166 - 27.10.2022 23:12

how to get data from firebase in dropdown

Ответить
@jessenjie6202
@jessenjie6202 - 25.10.2022 11:18

can you do a display about spesific information from currently logged in user?, not just everyone name and ages

Ответить
@sivaram1804
@sivaram1804 - 11.10.2022 01:41

How to get all the data of a single doc id

Ответить
@panneerr1472
@panneerr1472 - 29.09.2022 13:19

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?

Ответить
@rbsheroff3780
@rbsheroff3780 - 25.09.2022 22:58

(proceeds to continue)

Ответить
@h.m.zaheerasghar1067
@h.m.zaheerasghar1067 - 24.09.2022 11:29

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?

Ответить
@owoeyeoluwajuwonlo8842
@owoeyeoluwajuwonlo8842 - 22.09.2022 16:44

Am very grateful for this video, how I use a data-table instead. THANK YOU.................................

Ответить
@PabloDiaz-ux1fh
@PabloDiaz-ux1fh - 09.09.2022 18:53

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

Ответить
@naumancr7852
@naumancr7852 - 06.09.2022 09:54

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.

Ответить
@ghulammurtaza7959
@ghulammurtaza7959 - 03.09.2022 04:10

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.

Ответить
@dvnss367
@dvnss367 - 26.08.2022 13:31

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

Ответить
@agcpakistan3106
@agcpakistan3106 - 22.08.2022 18:29

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

Ответить
@SullyS255
@SullyS255 - 10.08.2022 12:57

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

Ответить
@McLovinBillion
@McLovinBillion - 06.08.2022 21:24

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.

Ответить
@ravindrametri1681
@ravindrametri1681 - 06.08.2022 08:43

Nice tutorial , also make video on show data of subcollection

Ответить