Flutter Firebase CRUD (Create, Read, Update, Delete)

  Рет қаралды 200,627

HeyFlutter․com

HeyFlutter․com

Күн бұрын

How to use all Firebase CRUD operations for the Flutter Firestore database to write data, read data, update data and delete data from the Firestore Cloud Database.
Click here to Subscribe to Johannes Milke: kzbin.info...
👉 12 Week Flutter Training | heyflutter.com
👉 Flutter Masterclass Courses | heyflutter.com/masterclass
Source Code | github.com/JohannesMilke/fire...
My Courses | heyflutter.com
Follow Newsletter | johannesmilke.com/#/newsletter
SUBSCRIBE HERE
bit.ly/JohannesMilke
SUPPORT & SPONSOR ME
github.com/sponsors/JohannesM...
TIMELINE
0:00 Firebase CRUD Setup
2:33 Write Data (Firestore CRUD)
7:29 Read Data (Firestore CRUD)
13:06 Update Data / Delete Data (Firestore CRUD)
SOCIAL MEDIA: Follow Us :-)
Twitter | / heyflutter_
Linkedin | / heyflutter
#Flutter #Tutorial #JohannesMilke
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)

Пікірлер: 316
@HeyFlutter
@HeyFlutter Жыл бұрын
👉Join 12 Week Flutter Training: heyflutter.com 👉Join the WhatsApp Channel to get the latest news about Flutter & HeyFlutter: whatsapp.com/channel/0029VaDNCZtC1Fu8nL2vmw3f Source Code: github.com/JohannesMilke/firebase_crud
@methanesulfonic
@methanesulfonic Жыл бұрын
I was skeptical at first seeing just how short the video is but you proved me wrong, this is a really great vid. Simple, short, to the point, no stutter on your voice, very professional. Thanks a lot.
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad to hear that, Thank you Jun! 😊
@prize9550
@prize9550 Жыл бұрын
I cannot explain just how helpful this video was to me. Thank you so much
@HeyFlutter
@HeyFlutter Жыл бұрын
You’re most welcome, Prize! 🙂
@TheCebulon
@TheCebulon Жыл бұрын
I am glad to have found our channel. Very good explanation and code of everything. Thanks.
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad to hear that, Thank you Thomas Schroeder! 😊
@dmytro_skurikhin
@dmytro_skurikhin 2 жыл бұрын
The best tutorial I've ever found! Huge respect! Hello from Kharkiv, Ukraine!
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Glad it helped, Dmytro Skurikhin! 🙂
@rafaelzenieris7463
@rafaelzenieris7463 Жыл бұрын
Hope everything is good bro!
@dan.gorbunov
@dan.gorbunov Жыл бұрын
Really good video, shot and informative. Hi, from Mykolayiv, Ukraine
@AAAKhan-rf5wk
@AAAKhan-rf5wk 2 жыл бұрын
I have watched all these request videos that you uploaded in chunks or individual, still i watched the video for making it clear i didn't miss any thing.. Old Subscriber❤👍
@zuzannakittel8995
@zuzannakittel8995 2 жыл бұрын
Thank you so much for your tutorials. Irreplaceable!!
@ishanmaddumage
@ishanmaddumage 2 жыл бұрын
this is the best channel for flutter I have ever met🥰😍
@includestdio.h3941
@includestdio.h3941 2 жыл бұрын
Your content give me more idea and ability to create a great app. Thankfully.
@kahanx10
@kahanx10 Жыл бұрын
Now I'm a huge fan of yours, you're a Flutter avenger, literally!
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad to hear that, Thank you I Flutter You! 😊
@Ruchir205
@Ruchir205 Жыл бұрын
Thanks for the to the point video. I was able to execute the project without exception with your help.
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad I could be of help, Thank you ruchir santuka! 😊
@quantumdev712
@quantumdev712 2 жыл бұрын
You're the best at this sir 👍💯
@tortue34170
@tortue34170 Жыл бұрын
Wow, very very good content here ! I'm trying firebase for the first time so i'm still confused on the relation between data (how to only target the documents of a specific user for exemple). But this was not the point of this video ! For the basic implementation of the CRUD with flutter and firebase, this is exactly was I was looking for !! Great Job ! Many thanks
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad to hear that, Thank you Victor Mth! 😊
@Ange-PaterneDali
@Ange-PaterneDali Ай бұрын
nice teaching, i really get the method after seeing this. thanks for all .
@HeyFlutter
@HeyFlutter Ай бұрын
Glad to hear that, Thank you @Ange-PaterneDali! 😊
@DaniyalAk
@DaniyalAk 2 жыл бұрын
Amazing @Johannes
@Patrickus23
@Patrickus23 2 жыл бұрын
Great tutorial! I have a video idea for you: Flutter how to center Textfield on screen after the user taps on it? When we usually tap a TextField, it will be positioned a little above the keyboard but we do not want that if we want a better UX
@AminurRahmanTopu
@AminurRahmanTopu 2 жыл бұрын
Great video ever about Firebase. Really!
@mao3043
@mao3043 Жыл бұрын
Thank u for sharing. Awesome
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, @mao3043 😊
@dvasq780
@dvasq780 Жыл бұрын
Super helpful, thank you!
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad it was helpful, David Vasquez 😀
@andovianney1451
@andovianney1451 2 жыл бұрын
Good tutotrial! thanks Johannes
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thanks, also Ando Vianney! 🙂
@Medo-tg9io
@Medo-tg9io 2 жыл бұрын
Very clear and easy way, thank you so much
@isheriff82
@isheriff82 2 жыл бұрын
yes he's excellent at teaching, it's so straightforward and easy to understand!
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thanks, also Medo 7911! 🙂
@sheerdev7994
@sheerdev7994 Жыл бұрын
thank you very much, i'm not good at english, but you're video is very helpful by using clear and easy english also good to comprehend. thank you!
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks, for your support, Sheer Dev! 🙂
@nikhiljain5441
@nikhiljain5441 9 ай бұрын
such a great video,perfect tutorial
@HeyFlutter
@HeyFlutter 9 ай бұрын
Thank you, @nikhiljain5441! 🙂
@Ali_ade
@Ali_ade 2 жыл бұрын
Sir thank u i had gotten from U a lot things
@joeysupply
@joeysupply Жыл бұрын
Thank you for your tutorials
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, Joey SS!
@mattiasperalta
@mattiasperalta 2 жыл бұрын
Excelente video! Me sirvió.
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank you, Mattias Peralta! 🙂
@touyenaothi7548
@touyenaothi7548 Жыл бұрын
thank your video so much! it helps me, hope you create more video about Flutter 🥰
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad you liked, @touyenaothi7548 😀
@lowkeylee
@lowkeylee 2 жыл бұрын
YES THANK YOU!!
@janconde7195
@janconde7195 Жыл бұрын
So amazing!
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks, Jan Conde! 🙂
@MoodMosaic-01
@MoodMosaic-01 Жыл бұрын
This tutorial helps me alot thanks
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad it was helpful, @user-dd3xe6rg7o 😀
@amjadzayed5651
@amjadzayed5651 Жыл бұрын
professional work, thank you
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, amjad zayed!
@karimeltalawy
@karimeltalawy Жыл бұрын
best instructor as usual
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad to hear that, Thank you _itskarim! 😊
@letmeflutter6644
@letmeflutter6644 Жыл бұрын
thank you so much. It really helped alot
@HeyFlutter
@HeyFlutter Жыл бұрын
You’re most welcome, Let me Flutter! 🙂
@cianoatlas
@cianoatlas Жыл бұрын
Wow, very very good content here!
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks, @cianoatlas! 🙂
@user-lf6db1zf2c
@user-lf6db1zf2c Жыл бұрын
this video is the best guide for firebase
@HeyFlutter
@HeyFlutter Жыл бұрын
Glad you liked it, @user-lf6db1zf2c 😀
@Manishmor
@Manishmor 2 жыл бұрын
very helpful to me, thanx dear
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thanks, also Manish Mor! 🙂
@hugogomes6770
@hugogomes6770 Жыл бұрын
awesome tutorial
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you, Hugo Gomes! 🙂
@YasinduSamarasinghe
@YasinduSamarasinghe Жыл бұрын
Thank you so mush
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, @user-yy7he3dp1g 😊
@YasinduSamarasinghe
@YasinduSamarasinghe Жыл бұрын
good work
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks, @user-yy7he3dp1g! 🙂
@waqasbashir7985
@waqasbashir7985 2 жыл бұрын
Literally your way of teaching is best. Love from Pakistan ❤
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank you, Waqas Bashir! 🙂
@GAMEVLOGS2021
@GAMEVLOGS2021 Жыл бұрын
Nice❤ Thank
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, GAME VLOGS!
@mohamedzeghlache6869
@mohamedzeghlache6869 Жыл бұрын
Thank you
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, Mohamed Zeghlache!
@pankajkcodes
@pankajkcodes 2 жыл бұрын
Helpful
@muhammedsibil8116
@muhammedsibil8116 Жыл бұрын
concept abstraction love😍
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you, Muhammed Sibil! 🙂
@VTechBroLive
@VTechBroLive 2 жыл бұрын
Thanks alot
@oumarzabre8761
@oumarzabre8761 Жыл бұрын
Thank you my brother
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, Oumar Zabre 😊
@oumarzabre8761
@oumarzabre8761 Жыл бұрын
@@HeyFlutter thank you Milke
@friedrichvonhertling9371
@friedrichvonhertling9371 Жыл бұрын
danke schön 😃👍
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you, Friedrich von! 🙂
@Tom-en9tc
@Tom-en9tc Жыл бұрын
I run into the issue of getting error: Expected a type String but got one of type Null. Solved it by: - Add inside the model Users null safety so: final String name becomes > final String? name - And inside the listtile your Text with the value inside needs to change from: name to: name ?? "" Hope this helps out someone who also runs into this. Also a good practice to always add these checks. Thanks Johannes for another great tutorial!
@HeyFlutter
@HeyFlutter Жыл бұрын
Great, Thank you Tom!
@kaiguyniki
@kaiguyniki Жыл бұрын
I love you!!!!!!
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks, @kaiguyvtuber! 🙂
@McLovinBillion
@McLovinBillion 2 жыл бұрын
Great tutorial. When was this video created? Because when setting up you Flutter project on the Firebase console, I believe you no longer need to select Android, but can select Flutter, which will be right next to the Unity logo. It's easier that way.
@Webdesignanddevelopment
@Webdesignanddevelopment Жыл бұрын
Thanks
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, CodexBD!
@Webdesignanddevelopment
@Webdesignanddevelopment Жыл бұрын
@@HeyFlutter ❤
@priyanshupatra2100
@priyanshupatra2100 2 жыл бұрын
Hey ! Johannes, i hv been following you from a long time now and it's great watching from your vdos, it helped me alot for doing client projects. I want you to make a "php MySQL in flutter (mobile)" vdo. Love from INDIA❤️
@priyanshupatra2100
@priyanshupatra2100 2 жыл бұрын
@@HeyFlutter so grateful of you sir 🤗
@user-qp9ng6vl8l
@user-qp9ng6vl8l 2 жыл бұрын
It's not a Firebase database tutorial, but a tutorial for Firebase Firestore! Those are different products!!
@warunakaushalya4157
@warunakaushalya4157 2 жыл бұрын
Next, make a video about firebase remote config. Make a video on how to save the API key in the remote config, and how to change the behavior of the app using remote config. For example how to send a pop-up message to update an app using firebase remote config 🔥
@hacktiger4104
@hacktiger4104 2 жыл бұрын
I see title "CRUD" alot on KZbin then I don't know what's mean , Thanks you for nap a litle meaning on this clip title .
@Joeology97
@Joeology97 2 жыл бұрын
CRUD stands for Create, Read, Update and Delete respectfully
@alimehralizada
@alimehralizada 2 жыл бұрын
Hi, Mike, at the first thank you for all, you are amazing! :) I have an error with StreamBuilder, everything is working when it has an internet connection, but when i disable it for testing, everything in StreamBuilder is disapearing after 3 seconds. Can i use nested StreamBuilder (1 - to check internet connection(with connectivity_plus package), 2 - if it has stream data from firebase) or it has better way? P.S. i checked each way to return the data (if snapshot.hasError, snapshot.hasData, even !snapshot.hasData, else and after else..), but something went wrong after about 3 seconds if internet connection is off. P.P.S. In short, can you check your program without internet connection?
@nhexplorers
@nhexplorers Жыл бұрын
Thank you for the great tutorials. Request: Can you make a tutorial showing how to manage Firestore CRUD operations when the user loses access to a data connection. For example, if the user submits an update to Firestore with an async function but there is no data connection - how do you skip the await process and yet still update firestore later when there is a data connection?
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks for the idea, Nacho Libre! 🙂 I have added it to my list of ideas for future videos!
@shouryapandey3003
@shouryapandey3003 2 жыл бұрын
one great tut one request please make tutorial on realtime db using stream builder in flutter
@shouryapandey3003
@shouryapandey3003 2 жыл бұрын
@@HeyFlutter sure pls try to make this tutorial as fast as possible
@bhabhayt398
@bhabhayt398 2 жыл бұрын
Search data from local database in implement staggered grid view
@yusufnurullayev4283
@yusufnurullayev4283 11 ай бұрын
class
@HeyFlutter
@HeyFlutter 11 ай бұрын
Thanks, @yusufnurullayev4283! 🙂
@PriXss
@PriXss Жыл бұрын
Hey man, great Video, helped me a lot! I have one more question maybe for the other people as well: How can i check if a document inside my firebase database with a given id is already inside my collection? Would help me a lot and im struggling at the moment! Thx alot and have a nice day!
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey 😊, @PriXss! Check out this solution: stackoverflow.com/a/62735067
@shuklashrestha8610
@shuklashrestha8610 2 жыл бұрын
Sir, please make a video on firebase cloud function for firebase database crud operation in production mode for authenticated users.
@beastrocks2341
@beastrocks2341 2 жыл бұрын
Hi How to differentiate users data and show respective for different users ?
@mdshahidali3132
@mdshahidali3132 2 жыл бұрын
Sir please Create CRUD operation in AWS .please Make an Video about this topic.
@pranitkhakal109
@pranitkhakal109 2 жыл бұрын
Sir please make a video on flutter block
@wykeless
@wykeless 2 жыл бұрын
would you make an updated version of this since firebase officially supports flutter now? im just curious
@seghaiersalma8847
@seghaiersalma8847 2 жыл бұрын
Please a video for flutter, php and mysql login, signup and crud
@ashRAFKSALIM
@ashRAFKSALIM 2 жыл бұрын
I Love You! ❤❤❤❤❤ senpai
@ayaznazir9209
@ayaznazir9209 2 жыл бұрын
Hi sir make a video cloud function with flutter thanks.
@darshann276
@darshann276 2 жыл бұрын
Can u make a video about the firebase pricing
@raves_r3177
@raves_r3177 Жыл бұрын
Please help me. I tried using your method in the "read data" part of the video in displaying images from firebase. I have some trouble in precaching the image with the user.map(buildUsers).toList() inside the ListView under the StreamBuilder. How do I precache the image?
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank You raves_r! Follow this link: medium.flutterdevs.com/precache-images-in-flutter-73abfedb0769 I hope you will get your answer 🙂
@helvecioguimaraes
@helvecioguimaraes Жыл бұрын
Hey, this is an awesome tutorial, thanks! Now, I see most of people talk about Firestore, so I wonder: is there any value in the Realtime Database? From what I read in the official docs, it is mostly suitable for nimbler, smaller projects. Apart from that, is there any reason why I should use it instead of the Firestore? Cheers.
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, Helvecio Borges 🙂 Realtime and firestore both fulfills differnt requirement, firestore can be used to handle large data while realtime as name says can be used to handle realtime operations
@helvecioguimaraes
@helvecioguimaraes Жыл бұрын
@@HeyFlutter awesome, man, many thanks 👍
@azhagappankathiresan5338
@azhagappankathiresan5338 2 жыл бұрын
Hi, I have a data field as a reference value of another document. So how can i get value for that refrence and display
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank You Azhagappan Kathiresan! Follow this link: stackoverflow.com/questions/69732901/flutter-firestore-how-to-get-data-from-a-document-reference-in-a-document-fiel I hope you will get your answer 🙂
@lisbin1509
@lisbin1509 2 жыл бұрын
🔥🔥
@phandoumas2921
@phandoumas2921 Жыл бұрын
Hello, thanks for the tutorial. I have a question, how can i pass the data from the "ListTile" into da second screen like DetailScreen. Like click the frist one -> Detailscreen opens with the informations. That would be sooo helpfull :)
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey 😊, @phandoumas2921! Check out this video: kzbin.info/www/bejne/omSun6iLotGlY9k I hope this may help you!
@jasonong23
@jasonong23 Жыл бұрын
When I try to run the main.dart file after setting up the Firebase with Flutter, the error below occurs: Could not find a command named "App\brew_crew\android\". (brew_crew is the project name) I am not sure how to debug this, would you mind to provide me with some suggestions ?
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank You Jason Ong! Follow this link: stackoverflow.com/questions/50652071/flutter-command-not-found I hope you will get your answer 🙂
@abdelbassetlabbi852
@abdelbassetlabbi852 2 жыл бұрын
why do you use request for code i can't access also you don't give me access
@abhishekagarwal6750
@abhishekagarwal6750 2 жыл бұрын
please for realtime database too!
@templetonmeshack2816
@templetonmeshack2816 Жыл бұрын
Hey Johannes, may i ask how do we get data from a single document with an autogenerated id instead of the personal create ID. final userDoc = FirebaseFirestore.instance.collection("users").doc("my-id"); i want to place an auto generated ID inside .doc() call
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank You Templeton Meshack! Follow this link: stackoverflow.com/questions/53517382/query-a-single-document-from-firestore-in-flutter-cloud-firestore-plugin I hope you will get your answer 🙂
@templetonmeshack2816
@templetonmeshack2816 Жыл бұрын
@@HeyFlutter I still dont get it. No it didnt help really. I still dont get where the id variable is comming from. StreamBuilder( stream: FirebaseFirestore.instance .collection('YOUR COLLECTION NAME') .doc(id) ////////////ID OF DOCUMENT//////////// .snapshots(), builder: (context, snapshot) { if (!snapshot.hasData) { return new CircularProgressIndicator(); } var document = snapshot.data; return new Text(document["name"]); } ); }
@paulbaker2499
@paulbaker2499 Жыл бұрын
I cant see any videos on your channel that discusses DELETION specifically removing a document and all collections/subcollections - It would be great to see your approach on this ...
@HeyFlutter
@HeyFlutter Жыл бұрын
Thanks for the idea @paulbaker2499 😀, i have added it in my list of future videos
@balikonan2316
@balikonan2316 2 жыл бұрын
please Sir can you make video about firebase rules ?
@NGRnp
@NGRnp 2 жыл бұрын
@@HeyFlutter add this as important 😋I can't find deep explain on yt I hope I can learn more from you 😊
@warrenstrife4818
@warrenstrife4818 2 жыл бұрын
thank you for your tutorials 🙏 i am getting an error when following your tutorial when i try final users=snapshot.data! and then users.map(buildUser) etc it says that 'map' is not a method of 'object', snapshot.data has no map method. i saw that stack overflow post you linked on your other video but i don't understand how it fixes the problem
@warrenstrife4818
@warrenstrife4818 2 жыл бұрын
@@HeyFlutter hmm I followed all the steps, everything seems the same. not sure why .map isn't defined for snapshot.data
@Biowulf21
@Biowulf21 2 жыл бұрын
@@warrenstrife4818 make sure that your StreamBuilder has its type specified as such StreamBuilder. Let me know if that worked :)
@warrenstrife4818
@warrenstrife4818 2 жыл бұрын
@@Biowulf21 Yes! this worked thank you so much
@sammlabra519
@sammlabra519 2 жыл бұрын
@@Biowulf21 That worked, thank you!
@muhammadawaisamingill8004
@muhammadawaisamingill8004 Жыл бұрын
@@Biowulf21 Bro I have same error. "Null check operator used on a null value. The relevant error-causing widget was StreamBuilder"
@Kliamframe
@Kliamframe 2 жыл бұрын
What is the benefit of using a model object?
@antonyaz3506
@antonyaz3506 2 жыл бұрын
Easy) Thank you
@HeyFlutter
@HeyFlutter 2 жыл бұрын
You are welcome, Anton Yaz!
@eugeneow7269
@eugeneow7269 8 ай бұрын
Thank you very much, but I'm facing an error at roughly 9:00 . "The method 'toList' isn't defined for the type 'Iterable'
@HeyFlutter
@HeyFlutter 8 ай бұрын
Thank you @eugeneow7269, make sure to follow the tutorial step by step 🙂
@muhammedjiddahsaleh289
@muhammedjiddahsaleh289 2 жыл бұрын
Pls make a search bar in firebase tutorial
@user-sb7fg6fv8i
@user-sb7fg6fv8i Жыл бұрын
Hello, if i follow this steps can i run on desktop browsers?
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you, иприпшорл! 🙂. No, for that firebase has slightly different procedure. Check out this link: stackoverflow.com/questions/62743910/flutterhow-can-we-use-firebase-database-with-desktop-application.
@mwgmlg5600
@mwgmlg5600 Жыл бұрын
I got error "Type null is not a subtype of type string" when implementing 10:26 part of the video, any solution ?
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you @ashdream5600, make sure to follow the tutorial step by step 🙂
@swalihzamnun1547
@swalihzamnun1547 9 ай бұрын
Will this work seperately for every user ? Like will it store like a different database for every user ?
@HeyFlutter
@HeyFlutter 9 ай бұрын
Thank You @swalihzamnun1547! Follow this link: stackoverflow.com/questions/70357014/flutter-firebase-retrieve-different-users-data I hope you will get your answer 🙂
@bipuldeshar7078
@bipuldeshar7078 Жыл бұрын
you have updated data by giving specific id how can we update data via form FirebaseFirestore.instance.collection('users').doc(); what shall i give in doc()insted of id i want to update
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, Bipul Deshar 🙂 doc id is must to update data, it is available to you in doc snapshot loaded from firebase
@muhammadsaadmansoor7777
@muhammadsaadmansoor7777 Жыл бұрын
9:46 your red squikly line disappeared when you made that buildUser method. my code still shows the error. error: The method 'map' can't be unconditionally invoked because the receiver can be 'null'. (Documentation) even if i Alt+Enter on the error, another error appears saying as below: error: The element type 'List' can't be assigned to the list type 'Widget'. (Documentation) i have watched this video like 6 times. i have the same code as yours, same dependencies ( i think) - but still gives me error
@HeyFlutter
@HeyFlutter Жыл бұрын
Hello, Muhammad Saad Mansoor! Follow this link: stackoverflow.com/questions/67575893/the-method-cant-be-unconditionally-invoked-because-the-receiver-can-be-nu I hope it will solve your problem. Thank You 🙂
@DavidHergert
@DavidHergert 8 ай бұрын
Do Flutter UIs like this render properly in a web browser as well?
@HeyFlutter
@HeyFlutter 8 ай бұрын
Thank You @DavidHergert! Follow this link: stackoverflow.com/questions/71000319/flutter-web-does-not-render-correctly-when-chrome-app-on-mobile-with-desktop-sit I hope you will get your answer 🙂
@user-tw8qc8zo5o
@user-tw8qc8zo5o 9 ай бұрын
Thank you very much and It's Nice explanation but i could not see any source code for firebase_crud. I can see empty files only.
@HeyFlutter
@HeyFlutter 9 ай бұрын
Thank You @user-tw8qc8zo5o!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
@PabloDiaz-ux1fh
@PabloDiaz-ux1fh Жыл бұрын
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
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey 😊, Pablo Diaz! Check out this solution : stackoverflow.com/a/71039737
@premchandraseakaran1847
@premchandraseakaran1847 Жыл бұрын
how to rename the file name in flutter and update in to firebase (consider already inside the file user having couple of images)
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank You prem chandraseakaran! Follow this link: stackoverflow.com/questions/63099309/is-there-a-way-to-rename-file-in-firebase-storage-using-flutter I hope you will get your answer 🙂
@oumarzabre8761
@oumarzabre8761 Жыл бұрын
infact I created a form with the stepper widget that I manage to register on firebase firestore. a form (name, address, pincode...). I would like to display a message to the user in case he enters a name that already exists in the database.
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, Oumar Zabre 🙂 you can first read/load user's info from database and then compare whatever values you want to
@diegocamilopenaramirez6101
@diegocamilopenaramirez6101 Жыл бұрын
I get this error in the line 'await Firebase.initializeApp();' : PlatformException (PlatformException(channel-error, Unable to establish connection on channel., null, null))
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank You Diego Camilo Peña Ramirez! Follow this link: stackoverflow.com/questions/72880037/unhandled-exception-platformexceptionchannel-error-unable-to-establish-connec I hope you will get your answer 🙂
@psppoks
@psppoks Жыл бұрын
For Those Getting Error at set(), use add(): await docUser.add(json);
@HeyFlutter
@HeyFlutter Жыл бұрын
Thank you, PSP PoKs! 🙂
@rudolfsrijkuris
@rudolfsrijkuris 2 жыл бұрын
Hey, I’m new to flutter and I wanted to ask does someone now some good tutorial for firebase realtime database CRUD? I’ve been struggling with this for some time because I don’t really understand how it works and can’t seem to find any good tutorial or documentation with examples and explanation.
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank You Rudolfs Rijkuris! Follow this link: medium.com/@tattwei46/flutter-how-to-do-crud-with-firebase-rtdb-ce61e3ce53a I hope you will get your answer 🙂
@fahrulrozi3668
@fahrulrozi3668 Жыл бұрын
Sir if a use gridview.builder, how to get data name field in collection firebase?
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, Fahrul Rozi! Check out this playlist to learn more about firebase : kzbin.info/aero/PL1WkZqhlAdC9TgTee50FWiiwVZ6kQg4W7
Flutter Audio Player (from URL, File, Assets)
2:48
HeyFlutter․com
Рет қаралды 95 М.
The Firebase Realtime Database and Flutter - Firecasts
59:26
Firebase
Рет қаралды 82 М.
마시멜로우로 체감되는 요즘 물가
00:20
진영민yeongmin
Рет қаралды 21 МЛН
Did you believe it was real? #tiktok
00:25
Анастасия Тарасова
Рет қаралды 54 МЛН
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 6 МЛН
Every Flutter App needs this!
10:15
HeyFlutter․com
Рет қаралды 54 М.
TOP 12 ListView Widgets | Flutter Tutorial
19:28
HeyFlutter․com
Рет қаралды 33 М.
Most overpowered way to build mobile apps?
8:33
Beyond Fireship
Рет қаралды 737 М.
Top 10 Flutter Widgets (for Responsive Layouts)
13:17
HeyFlutter․com
Рет қаралды 71 М.
После ввода кода - протирайте панель
0:18
Up Your Brains
Рет қаралды 1,2 МЛН
Как слушать музыку с помощью чека?
0:36
Самый дорогой кабель Apple
0:37
Romancev768
Рет қаралды 356 М.
Как правильно выключать звук на телефоне?
0:17
Люди.Идеи, общественная организация
Рет қаралды 1 МЛН
Todos os modelos de smartphone
0:20
Spider Slack
Рет қаралды 4,2 МЛН