How to Update Data in Firestore Flutter - Flutter Firebase CRUD 2023

  Рет қаралды 27,814

Coding With T

Coding With T

Жыл бұрын

In this Flutter firebase CRUD video, we will learn the Update part of CRUD in Firestore.
PLAYLIST: • Flutter Login App - UI...
In our previous videos we covered how to Create and Read data from Firebase Cloud Firestore. Therefore, in this video we will cover how to Update any record using Flutter Firestore. We will use Firestore document ID to update record.
LOGIN APP PLAYLISTS
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► COMPLETE PLAYLIST: • Flutter Login App - UI...
► FIREBASE PLAYLIST: • Flutter Firebase Basic...
DOWNLOAD PROJECT
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► CODE & RESOURCES: codingwitht.com/flutter-login...
VIDEOS
▬▬▬▬▬▬▬▬▬▬ DESIGN ▬▬▬▬▬▬▬▬▬▬
► 01 - Flutter Folder Structure • Flutter App with Fireb...
► 02 - Flutter Folder Structure • How to Create a Flutte...
► 03 - Setup Theme Light & Dark: • How to Setup a Custom ...
► 04 - Flutter Native Splash • How to create Flutter ...
► 05 - Custom Splash with Animation • Flutter Splash Screen ...
► 06 - On Boarding Screen • Flutter Onboarding Scr...
► 07 - Welcome Screen Design • Welcome Screen | Flutt...
► 08 - Animate any widget • Flutter Animation 2023...
► 09 - Flutter Login UI • Flutter Animation 2023...
► 10 - Flutter Signup UI • Modern Signup form in ...
► 11 - Flutter Forget Screen • Flutter Forget Passwor...
► 12 - Flutter OTP Design • Flutter OTP Verificati...
► 13 - Flutter Dashboard • Flutter UI Design Tuto...
▬▬▬▬▬▬▬▬▬▬ FIREBASE ▬▬▬▬▬▬▬▬▬▬
► 14 - Setup Firebase in Flutter • Simplest way to Setup ...
► 15 - Firebase Authentication • Flutter Firebase Authe...
► 16 - Firebase Phone No Auth • Flutter Firebase Phone...
► 17 - Flutter Profile UI • Flutter Profile Page U...
► 18 - Store Data in Firestore • How to store data in F...
► 19 - Verify Email in Flutter • Verify Email in Fireba...
COURSES
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
► FLUTTER CRASH COURSE • Flutter Crash Course f...
► LOGIN APP with GETX • Flutter Login App - UI...
► E-COMMERCE APP • Professional Flutter E...
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
FOLLOW US ON SOCIAL MEDIA!
💻 Facebook: / codingwithtea
💻 Instagram: / coding_with_tea
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
SUPPORT
To support the creation of a free content please visit:
► Subscribe kzfaq.info...
►► Support codingwitht.com/support-the-c...
#firestore #flutterfirebase #firebaseauth #codingwithT

Пікірлер: 81
@DiamondSoft
@DiamondSoft Жыл бұрын
very thankful for your time Waiting for your next videos
@PromoHands
@PromoHands Жыл бұрын
Not able to update the records. SOLUTION: This was not working: Just like Taimoor described I created UserModel in UpdateProfileScreen in ElevatedButton (to call updateRecord function in ProfileController). But it didn't work. The reason that this did not include document ID and thus giving error on updating when it tries to find the record in firebase to update. This is the solution I found: Add this variable in if(snapshot.hasdata) block: final id = TextEditingController(text: user.id); And then add this in UserModel in ElevatedButton: id: id.text, Now when the UserModel is passed to controller it will contain document ID. Thus now the record will be found and updated.
Жыл бұрын
Thank you. That did it.
@mouhamadoucoulibaly6246
@mouhamadoucoulibaly6246 Жыл бұрын
Thank you, it works well. I got the same issue
@abdellatifamireh5747
@abdellatifamireh5747 9 ай бұрын
Thanks man you save my day
@user-ny8hw3iw2s
@user-ny8hw3iw2s 9 ай бұрын
Thank you so much!
@sgleo4934
@sgleo4934 8 ай бұрын
hey bro can you pass your code pls i have been stuck 2 days
@user-cb2zg8pl4v
@user-cb2zg8pl4v 4 ай бұрын
جزاك الله خيرا God bless you
@CodingwithT
@CodingwithT 4 ай бұрын
Ameen Thanks
@ThePilli41
@ThePilli41 Жыл бұрын
What an amazing series! Thank you very much for it. I only wish there was an update regarding the form field update issue 😢
@CodingwithT
@CodingwithT Жыл бұрын
I will try to do it 🤠 ASAP.
@nick876
@nick876 11 ай бұрын
check my comment ive added the code
@AkumaGS
@AkumaGS Жыл бұрын
How long before we could see your delete user video, so far this is looking awesome, but that functionality had me stuck since you released this video :(
@jyotibaruah1085
@jyotibaruah1085 Жыл бұрын
Waiting for your next videos..🙏
@CodingwithT
@CodingwithT Жыл бұрын
Thank you dear. Coming soon 🙂
@amanshaikh7939
@amanshaikh7939 Жыл бұрын
Assalamu alaikum brother @CodingWithT this playlist is the by far most organized and profession playlist to implement general purpose login/signup module. My question is that are you going to complete this playlist in near future. Some topics like 1. forget password backend implementation. 2. Google Signup and login 3. login and signup validation(e.g. already registered user should see msg that user already exist and if new user tries to login he/she should see msg create account first). P.S : I know above topic can be implemented with the help of internet but I am looking for your amazing folder structure, design and modular coding.
@CodingwithT
@CodingwithT Жыл бұрын
Thank you so much dear. Yes I'll definitely do that
@mehditun966
@mehditun966 Жыл бұрын
Great tutorial, thank you for sharing your expertise! I learned a lot about Flutter from this video and can't wait to start implementing some of these techniques in my own projects. I do have a question - do you think it would be possible to add biometric authentication to the project? It would be really helpful to learn how to incorporate that into my own apps. Thank you again for such a great tutorial!
@CodingwithT
@CodingwithT Жыл бұрын
I will try to add it in up coming videos.
@CodingwithT
@CodingwithT Жыл бұрын
& Thank you for your love and support
@maba7097
@maba7097 9 ай бұрын
Thank you very much for this wonderful playlist it helped me a lot, may Allah bless you
@CodingwithT
@CodingwithT 9 ай бұрын
You're welcome. I am glad you it's helpful.
@surrealdust2910
@surrealdust2910 Жыл бұрын
what I need to return at the end of the FutureBuilder? it is giving me an error with that part
@PromoHands
@PromoHands Жыл бұрын
Asalamoalaikum Taimoor. You are doing a great contribution from Pakistan. Well done. We are getting good stuff from you. Thanks for that. Keep it up. Waiting for your next video in this series. May you please summarize the whole app process so far. For example we have manually bypassed the OnBoarding screens. But in real app they should not work like that. There is a need for summarizing the whole app, so that app will start from fresh. From Splash > OnBoarding > Welcome > Login/SignUp > DashBoard. Then there should be some way for the app to remember if a user has seen the OnBoarding screens, then app should not show it again. JazakAllah bro!
@CodingwithT
@CodingwithT Жыл бұрын
WaS dear, Thank you so much and I'm happy & Proud to do this.
@phumlaninxumalo8327
@phumlaninxumalo8327 Жыл бұрын
hey may you plz help me here, when i click the edit profile elevated button after signing in it show the circular progress indicator. why is that happening, and what could be the solution?
@brainiactech7139
@brainiactech7139 Жыл бұрын
I Soo much love your videos bro. Please I have a request to ask, please do a video of dependent drop-down menu item in flutter
@CodingwithT
@CodingwithT Жыл бұрын
I'm too glad that you love my content 🥰. Will definitely do that
@gurubhai4918
@gurubhai4918 Жыл бұрын
taimoor bhai, shukriya ek list/recyclerview mein bhi data laake pls CRUD example/demo showcase karein
@CodingwithT
@CodingwithT Жыл бұрын
I will do that too. 😃
@hardrespect0
@hardrespect0 Жыл бұрын
Walaikumassalam sir
@CodingwithT
@CodingwithT Жыл бұрын
❤️
@sadaqatmustafa4638
@sadaqatmustafa4638 Жыл бұрын
Salam Sir, You are a life saver. Can you tell me about the specs of your laptop?
@CodingwithT
@CodingwithT Жыл бұрын
I've both hp and MacBook. HP is Core i7, 16GM RAM, 1 TB SSD
@rajvi5573
@rajvi5573 7 ай бұрын
can you post a video to update the profile picture as well? and also if for the User collection, there is user id xyz, I want to create one more collection for each user, for example each user has a collection in which their interests are stored, how to do that?
@CodingwithT
@CodingwithT 7 ай бұрын
I'm about to start the backend of an ongoing e-commerce app. So, must watch that. I'll cover in-depth knowledge of Firestore. It'll also have a Collection of Users and inside that we will have 2 more SubCollections Addresses and Orders.
@karthikgowd7689
@karthikgowd7689 Жыл бұрын
Same Video Post In Java Plz Bro
@CodingwithT
@CodingwithT Жыл бұрын
Ok. Sure
@muhammadarsalanmanzoor3938
@muhammadarsalanmanzoor3938 Жыл бұрын
sir please do one example with riverpod or provider with feature bases structure thank you
@CodingwithT
@CodingwithT Жыл бұрын
Sure dear 😊
@SanskarKakani
@SanskarKakani Жыл бұрын
I'm currently learning android development with kotlin & xml should I need to learn flutter or dart ?❓⁉️
@CodingwithT
@CodingwithT Жыл бұрын
Dear that's native language and it has its own benefits. Whereas if you see yourself as a freelancer or even an entrepreneur, you should see the best option and as Flutter provides a single code base for android, IOS, Web, Linux, Windows so why not!
@suhailmuhammed9100
@suhailmuhammed9100 8 ай бұрын
I updated email and password , and when I tried to login with the updated email and password I couldnt, because it is not updated in authentication. is there way we can update authentication ?
@alotzex1969
@alotzex1969 10 ай бұрын
I am not able to fetch the id . if i use phone number insted it is possible but ID is null why
@GabrielWeck
@GabrielWeck Жыл бұрын
hey hi how are you? Decidedly here is a new problem, the data on cloud firestore does not want to be updated with the error when I click on the button: Stream closed with status: Status{code=NOT_FOUND, description=No document to update: projects/moshimoshicatwangestion/ databases/(default)/documents/Users/25ey0ZbeJtFOmQjcnB8y, cause=null}.
@CodingwithT
@CodingwithT Жыл бұрын
Hi, 👋 It's because the document that you are trying to update doesn't exist in the firestore
@sonnymmabotse7699
@sonnymmabotse7699 Жыл бұрын
Sir, please show us how to create the admin app.🙏🏽
@CodingwithT
@CodingwithT Жыл бұрын
Sure dear! ✌️😃
@sonnymmabotse7699
@sonnymmabotse7699 Жыл бұрын
Thank you so much ❤🔥🙏🏽
@CodingwithT
@CodingwithT Жыл бұрын
❤️
@pramodudayanga7102
@pramodudayanga7102 Жыл бұрын
Hi sir, I want to know When will the next video come back? i am waiting for it sir?
@CodingwithT
@CodingwithT Жыл бұрын
Hi 👋, Soon will start the videos 😌
@pramodudayanga7102
@pramodudayanga7102 Жыл бұрын
@@CodingwithT thanks you.😊😊
@arijitbag10
@arijitbag10 Жыл бұрын
Hi if I buy the code will I get future update that is when you make the dashboard
@CodingwithT
@CodingwithT Жыл бұрын
Hi dear, it's just a login signup with backend but just as an addon I've created a dashboard, profile and so on.
@arijitbag10
@arijitbag10 Жыл бұрын
@@CodingwithT After purchasing I am getting a error please help. I have mailed you.
@maba7097
@maba7097 9 ай бұрын
There is a problem when updating the email or password. It also requires updating the authentication. I read in the documentation that it is necessary to re-authenticate. Do you have a way without forcing the user to enter the login data again?
@CodingwithT
@CodingwithT 9 ай бұрын
I think there might be some confusion. Firebase Authentication is a different thing and Firebase Firestore is a completely different thing. You don't have to even verify once to store read updates or delete data. Just check your connection and that's it 😊
@maba7097
@maba7097 9 ай бұрын
Yes, this is true. I think I did not convey my meaning correctly. For example, like the video, we update the user name or mobile number and there is no problem, but when updating the email or password, it is updated only in the Fire store, not in Firebase Authentication. How do I solve this problem ? Because when the user updates his email, he cannot log in to the account with the new email because it did not update in Firebase Authentication.@@CodingwithT
@abinsaji3940
@abinsaji3940 5 ай бұрын
I cant use both controller and initialvalue in textFormField why?
@CodingwithT
@CodingwithT 5 ай бұрын
Not sure
@DiamondSoft
@DiamondSoft Жыл бұрын
hello sir honestly i have problem when i try to change the data in update profile screen the page is relodging , i follow all your coerce its first time I find problem in your code honestly , C J add solution but this is need to change from stateless to Stateful i think its not good idea because we using GetX in this coerce , i hope you can help . appreciate
@CodingwithT
@CodingwithT Жыл бұрын
Don't worry dear, There are things we need to address. Due to the add, update, and delete, screen cannot be reloaded. There must be some call that you are making to reload the screen. You can share your code with me and I'll check that. 😃
@suhailmuhammed9100
@suhailmuhammed9100 7 ай бұрын
Can you please tell me how to delete that profile data from cloud firestore ?
@CodingwithT
@CodingwithT 7 ай бұрын
There is a simple delete query like other queries to delete any record.
@stranger22448
@stranger22448 11 ай бұрын
Good series, but I think this is not the proper way, you should store the user data in Users collection based on the user id stored in the authentication, both the id should be same, and email and password should be only in authentication and rest of the user details in Users collection. During the update password should be updated in the authentication. I think no need to store email and password again in Users collection. Please correct me if I am wrong.
@CodingwithT
@CodingwithT 11 ай бұрын
You are totally right dear. But the thing is that this is the basic course and the main aim was to only teach people how to do CRUD. A new Proper e-commerce app series is coming in which all questions will be addressed. Thank you 😊
@stranger22448
@stranger22448 11 ай бұрын
@@CodingwithT My intention was not to correct you, sorry if you felt like that. My intention was to correct my knowledge and get advice from you if I am wrong. Thank you soo much. Eagerly waiting for the e-commerce app series.🙂
@Vaultlabs
@Vaultlabs Жыл бұрын
Just purchased your pack and it wouldn't let me download it. Can you please see to this???
@CodingwithT
@CodingwithT Жыл бұрын
Please download the file from GDrive link
@Vaultlabs
@Vaultlabs Жыл бұрын
@@CodingwithT Hi There! I tried, but kept giving me the error, "Invalid download link. Go to shop" then when I clicked the other link it said Access Denied to Drive file. Thanks for your help!
@Vaultlabs
@Vaultlabs Жыл бұрын
@@CodingwithT I refunded it cause I didn't know how to fix it, but would happily re-purchase if we can get to work. Thank you!
@CodingwithT
@CodingwithT Жыл бұрын
I've not received your request to access permissions. But no worries I'll look into it and you can purchase again after 3 to 4 hours 😃✌️
@Vaultlabs
@Vaultlabs Жыл бұрын
@@CodingwithT Thanks!! You're great! Love the tutorials! Will definitely try to buy it again soon!
@jayanthmoram
@jayanthmoram Жыл бұрын
Website is not getting updated along with videos
@CodingwithT
@CodingwithT Жыл бұрын
I'm actually busy somewhere else. Will do that from Monday. 😊
@bishal8818
@bishal8818 Жыл бұрын
@@CodingwithT bro please show login authentication process
@jonathanstevenrochatriana990
@jonathanstevenrochatriana990 Жыл бұрын
@@bishal8818 Estoy de acuerdo contigo ya que solo nos muestras el SignUp
@star3sports41
@star3sports41 Жыл бұрын
flutterflow use
@CodingwithT
@CodingwithT Жыл бұрын
Means?
How to store data in Firestore Flutter - Cloud Firestore 2023
13:08
Coding With T
Рет қаралды 85 М.
Must-have gadget for every toilet! 🤩 #gadget
00:27
GiGaZoom
Рет қаралды 11 МЛН
NERF WAR HEAVY: Drone Battle!
00:30
MacDannyGun
Рет қаралды 32 МЛН
Получилось у Вики?😂 #хабибка
00:14
ХАБИБ
Рет қаралды 6 МЛН
How to Fetch Data from Cloud Firestore in Flutter [2023]
16:24
Coding With T
Рет қаралды 64 М.
Flutter Web Course - Responsive Admin Panel with Firebase 2024
0:50
Account Settings Screen UI Design | Flutter Speed Code
17:31
Uranus Code
Рет қаралды 10 М.
Flutter Firebase Auth - Update User Name and Password
17:46
Hakimi Mdnoor
Рет қаралды 3,3 М.
Flutter ThemeData Widget
1:13
Flutter Mapp
Рет қаралды 22 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,6 МЛН
Main filter..
0:15
CikoYt
Рет қаралды 13 МЛН
iPhone 12 socket cleaning #fixit
0:30
Tamar DB (mt)
Рет қаралды 56 МЛН