Тёмный

Firestore Stream with GetX | Todo App 

Tadas Petra
Подписаться 32 тыс.
Просмотров 18 тыс.
50% 1

Firestore Stream with GetX | Todo App
The last part that was needed was the actual todo list. In this video we will get a Firestore stream set up, that will stream the Todo list to our app! This solution is super clean and simple to set up. At the end of the video you will have a fully functional app with GetX
Link to the Code: github.com/tad...
Join Me on Discord: / discord
Make sure to Like and Share!
And pls subscribe: shorturl.at/dsIO9
Thanks For Watching!
#getx #flutter #fluttertodo
Check out my tech set up, and my list of favorite books!
www.amazon.com...

Опубликовано:

 

10 авг 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 61   
@chuckjackson1762
@chuckjackson1762 2 года назад
Doesn't know how to stream firestore data. Until... this is it. Thanks man. Appreciate!
@muhammadqazmouz6604
@muhammadqazmouz6604 Год назад
I did it for million times and face problems, but in the end It going well. Thank you so much man
@9707451
@9707451 4 года назад
Excellent tutorial! continue witch getx
@tadaspetra
@tadaspetra 4 года назад
Ivan Rocha I think I covered most of the use cases with GetX that I would use. So now they will be not GetX specific tutorials. But more on how I use it within my apps 😊
@WaqadArshad
@WaqadArshad 2 года назад
Thanks a lot Tadas. It helped a lot.
@yannmassard3970
@yannmassard3970 3 года назад
very interesting approach from getX, I have a very huge and complex app, all made with Provider. It would be a lot of refactoring, I wish I had heard about this earlier. Though, there s something I d like to warn u about. When u are remapping FirebaseDocument Snapshots, the map type would be Map, but even if dynamic, it wont handle any sub lists (like for example if you have Map, it would fail at runtime), and this getx constructor seems a bit too simplistic to solve that issue.
@BrianJoyce100
@BrianJoyce100 4 года назад
Very useful. Thanks.
@tadaspetra
@tadaspetra 4 года назад
Brian Joyce thanks man! I appreciate it 😊
@memel458
@memel458 3 года назад
Great tutorial, Thank you Can you do, for example, e-commence app with GetX package? As idea Thank you
@vennilatestware5777
@vennilatestware5777 3 года назад
am using Rest api for fetching live data..how to do implement stream to it..please help me
@osoles4105
@osoles4105 3 года назад
Thank you for good example. i tried git code you suggested. it worked well first and i logout and login again then todo checkbox and add icon function don't work. .. could you check it please ??
@shaiksoofi3741
@shaiksoofi3741 2 года назад
Thank you ❤️
@singhaseyha4375
@singhaseyha4375 2 года назад
that is the great tutorial, but can you share us how to get pagination with getX by using bindstream to append the next list?? please... i'm stuck
@HiranLaksh
@HiranLaksh 3 года назад
Very useful. thanks
@karolisabrutis6501
@karolisabrutis6501 4 года назад
hype hype hype
@tadaspetra
@tadaspetra 4 года назад
Karolis Abrutis thanks dude 🔥
@karolisabrutis6501
@karolisabrutis6501 4 года назад
@@tadaspetra I cant wait to see the cat you're gonna buy
@nikalags
@nikalags 3 года назад
I watch the "ToDo App GetX" playlist and there are some stuff missing. I don't know what, i think a video of how to add the database and the document and some variables. This errors i get: The getter 'uid' isn't defined for the type 'String'. Undefined class 'Firestore'. Undefined name '_authResult'. please help :)
@tadaspetra
@tadaspetra 3 года назад
A lot of the firestore issues are because the Firebase API got completely since then, you can check the flutter fire documentation for how to the breaking changes. The "getter uid" issue, you are trying to access the variable "uid" on a String Object. There is something wrong in your code, because uid should be on a User object
@tadaspetra
@tadaspetra 3 года назад
Also I have a Flutter Basics playlist that covers all the firebase things, as well as other basics
@nikalags
@nikalags 3 года назад
@@tadaspetra Didnt find the solution. Where you definated _authResult, snapshot ,CreateNewUser ? And where is this document thing ?
@usmansaeed5363
@usmansaeed5363 3 года назад
Awesome content n thank you for helping people in learning... How did yoy do getmd n class is generated?
@Quit.....529
@Quit.....529 3 года назад
Hi, great tutorial. However I need some help in using stream. How to init a stream with a dynamic parameter, and how to start/init the stream every time the parameter changes?
@balajib2118
@balajib2118 3 года назад
Exactly, this is what I am looking for. Tadas - Can you help us?
@cwxorochi
@cwxorochi 3 года назад
Same, I have a dynamic filter controls, but the stream is placed, so didnt know the actual way to achieve also, can help us ?
@cwxorochi
@cwxorochi 3 года назад
@julio gacha I found the solution, you can put your logics in the stream firestore function first, whenever the parameter change, you can use another function to call todoList.bindStream(Database.todoStream()) to refresh it.
@yannmassard3970
@yannmassard3970 3 года назад
@@cwxorochi wait carefull here not to launch a million streams
@HakimiRidzuan
@HakimiRidzuan 2 года назад
@BeastKurt Gaming can u explain a bit more? I still dont understand this. Stuck with this dynamic parameter on my job iv technical test. 😪
@deelipnath4002
@deelipnath4002 3 года назад
actually value inside my getx controller doesnt update when i change data from firestore , ive followed video step by step
@friendsexpress6516
@friendsexpress6516 3 года назад
Anyone knows the new syntax for snapshots().map? It's not working for me
@RajA-me9cl
@RajA-me9cl 3 года назад
Excellent tutor. But one question, What if one wants to update/change the document Id dynamically? How to update the stream when the document Id is changed dynamically?
@yannmassard3970
@yannmassard3970 3 года назад
why in hell would u wana do that
@marwanedebbache5839
@marwanedebbache5839 4 года назад
Hello sir hope you are fine I just want ask what is diférence between dart and flutter And we. Must learn dart before flutter ?
@tadaspetra
@tadaspetra 4 года назад
So Dart is the actual language Flutter uses. Flutter is just a framework built on that language. So without knowing Dart, you can't really do flutter. But Dart is very similar to other languages like Java so it's easy to learn
@marwanedebbache5839
@marwanedebbache5839 4 года назад
@@tadaspetra Thank you very muche sir
@amadojesusmartin9532
@amadojesusmartin9532 4 года назад
Gracias por compartir tus conocimientos!, hazlo conectadose a una API REST! :3 que no sea Firebase. and Thank you!
@tadaspetra
@tadaspetra 4 года назад
Im sorry, I don't understand portuguese (i think) But thank you for watching 😊
@amadojesusmartin9532
@amadojesusmartin9532 4 года назад
@@tadaspetra is spanish, but it doesn't matter, continue teaching
@tadaspetra
@tadaspetra 4 года назад
amado jesus martin oh sorry! But will do 👍
@elgusotube11
@elgusotube11 4 года назад
@@tadaspetra Not just normal API Rest, but GraphQL, it would be great, as it explains very well.
@alvincastillo3931
@alvincastillo3931 4 года назад
@@elgusotube11 is just the same thing i guess
@__eugene_choi
@__eugene_choi 3 года назад
i can't see my listview, who else got same problem?
@kanegomolema7357
@kanegomolema7357 4 года назад
Wonderful work. are you going to redo the bookclub app with getX?
@tadaspetra
@tadaspetra 4 года назад
As of right now, I don't think so. Theres nothing wrong with Provider, I just have grown to really enjoy GetX. But once I fix up the book club app, and get it actually working and released, I am planning to open source it so if people want to change it to GetX, I would not be opposed lol
@kanegomolema7357
@kanegomolema7357 4 года назад
@@tadaspetra can you please show in app purchase package with getX for allowing users to make purchases in the app
@tadaspetra
@tadaspetra 4 года назад
kanego molema I’ll take a look, but I have the next couple videos already planned out
@ramsmart8939
@ramsmart8939 3 года назад
Make tutorial with hasura backend
@paanoop
@paanoop 3 года назад
Good content. But very fast. Didn't understand a thing! :(
@MuratAltntasJM
@MuratAltntasJM 3 года назад
Hi Pls use lo-fi music genree. Thnx for video.
@tadaspetra
@tadaspetra 3 года назад
I'll look into it. Thanks!