Firestore Stream with GetX | Todo App

  Рет қаралды 18,089

Tadas Petra

Tadas Petra

Күн бұрын

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

Пікірлер: 61
@chuckjackson1762
@chuckjackson1762 3 жыл бұрын
Doesn't know how to stream firestore data. Until... this is it. Thanks man. Appreciate!
@muhammadqazmouz6604
@muhammadqazmouz6604 2 жыл бұрын
I did it for million times and face problems, but in the end It going well. Thank you so much man
@WaqadArshad
@WaqadArshad 2 жыл бұрын
Thanks a lot Tadas. It helped a lot.
@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 😊
@BrianJoyce100
@BrianJoyce100 4 жыл бұрын
Very useful. Thanks.
@tadaspetra
@tadaspetra 4 жыл бұрын
Brian Joyce thanks man! I appreciate it 😊
@vennilatestware5777
@vennilatestware5777 3 жыл бұрын
am using Rest api for fetching live data..how to do implement stream to it..please help me
@Quit.....529
@Quit.....529 4 жыл бұрын
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 4 жыл бұрын
Exactly, this is what I am looking for. Tadas - Can you help us?
@BeastKurtGaming
@BeastKurtGaming 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 ?
@BeastKurtGaming
@BeastKurtGaming 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 жыл бұрын
@@BeastKurtGaming 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. 😪
@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.
@shaiksoofi3741
@shaiksoofi3741 3 жыл бұрын
Thank you ❤️
@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
@HiranLaksh
@HiranLaksh 3 жыл бұрын
Very useful. thanks
@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
@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 ?
@osoles4105
@osoles4105 4 жыл бұрын
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 ??
@usmansaeed5363
@usmansaeed5363 3 жыл бұрын
Awesome content n thank you for helping people in learning... How did yoy do getmd n class is generated?
@friendsexpress6516
@friendsexpress6516 3 жыл бұрын
Anyone knows the new syntax for snapshots().map? It's not working for me
@memel458
@memel458 4 жыл бұрын
Great tutorial, Thank you Can you do, for example, e-commence app with GetX package? As idea Thank you
@singhaseyha4375
@singhaseyha4375 3 жыл бұрын
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
@deelipnath4002
@deelipnath4002 3 жыл бұрын
actually value inside my getx controller doesnt update when i change data from firestore , ive followed video step by step
@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
@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
@__eugene_choi
@__eugene_choi 3 жыл бұрын
i can't see my listview, who else got same problem?
@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
@ramsmart8939
@ramsmart8939 4 жыл бұрын
Make tutorial with hasura backend
@paanoop
@paanoop 3 жыл бұрын
Good content. But very fast. Didn't understand a thing! :(
@MuratAltntasJM
@MuratAltntasJM 4 жыл бұрын
Hi Pls use lo-fi music genree. Thnx for video.
@tadaspetra
@tadaspetra 4 жыл бұрын
I'll look into it. Thanks!
Firestore User with GetX | Todo App
9:20
Tadas Petra
Рет қаралды 15 М.
GetX Other Features | Flutter
12:59
Tadas Petra
Рет қаралды 23 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
Леон киллер и Оля Полякова 😹
00:42
Канал Смеха
Рет қаралды 4,7 МЛН
Flutter & Firebase App Tutorial #18 - Firestore Streams
12:11
Net Ninja
Рет қаралды 109 М.
Get CLI: A GetX Tool
10:44
Tadas Petra
Рет қаралды 18 М.
GetX in Flutter - Part 1 (Observables)
43:30
The Flutter Factory
Рет қаралды 21 М.
Flutter Shopping Cart with Getx, Firebase & Stripe (Part 1)
16:48
Santos Enoque
Рет қаралды 64 М.
Firebase Auth with GetX | Todo App
14:05
Tadas Petra
Рет қаралды 33 М.
REST API with GetX | Flutter tutorial | Shopping app
26:43
Dart Streams - Flutter in Focus
8:01
Flutter
Рет қаралды 262 М.
GetX Powerful Framework in Flutter in Detail (2021)
40:16
Easy Approach
Рет қаралды 88 М.
I quit my job to work on Hungrimind
8:54
Tadas Petra
Рет қаралды 1,1 М.