Uploaded May 2020 | Updated September 2026, 1 week ago
Firestore Stream with Provider
In the previous video we covered how to use an authentication stream throughout your app, but that wasn't too obvious why a stream was necessary since we weren't corrupting our auth state.
So here we show off how useful streams can really be. Here we see the data get updated live from firebase, as soon as it is added to the database. We also use provider for this so we can access this one stream from our whole app. Although provider might not be necessary for the exact implementation we made here, it can definitely be useful in other use cases. For example, if we wanted to show only the most recent 3 books, that were added, and then when we click we can see all of them.
Streams are a super important thing to understand. If you want to make a messaging app, its essential and any other app that you want to see information updated live. I still have a bit to learn about streams, but this is the basics.
Link to the Code: github.com/tadaspetra/provider_examples/tree/master/002_firebase_streams
Make sure to Like and Share!
And pls subscribe: https://shorturl.at/dsIO9
Thanks For Watching!
Laptop I use for drawing, recording, and editing:
Lenovo Thinkpad X1 Yoga: amzn.to/2RqFB8U
Super cheap, quality mouse. And batteries last forever:
VicTsing: amzn.to/2UWUimf
Docking station to keep everything organized:
Dell: amzn.to/3ea0sao
Also my favorite book ever, just so more people can read it :)
Brave New World by Aldous Huxley: amzn.to/3c7o91c
#provider #firestorestream #flutterprovider
Firestore Stream with Provider
In the previous video we covered how to use an authentication stream throughout your app, but that wasn't too obvious why a stream was necessary since we weren't corrupting our auth state.
So here we show off how useful streams can really be. Here we see the data get updated live from firebase, as soon as it is added to the database. We also use provider for this so we can access this one stream from our whole app. Although provider might not be necessary for the exact implementation we made here, it can definitely be useful in other use cases. For example, if we wanted to show only the most recent 3 books, that were added, and then when we click we can see all of them.
Streams are a super important thing to understand. If you want to make a messaging app, its essential and any other app that you want to see information updated live. I still have a bit to learn about streams, but this is the basics.
Link to the Code: github.com/tadaspetra/provider_examples/tree/master/002_firebase_streams
Make sure to Like and Share!
And pls subscribe: https://shorturl.at/dsIO9
Thanks For Watching!
Laptop I use for drawing, recording, and editing:
Lenovo Thinkpad X1 Yoga: amzn.to/2RqFB8U
Super cheap, quality mouse. And batteries last forever:
VicTsing: amzn.to/2UWUimf
Docking station to keep everything organized:
Dell: amzn.to/3ea0sao
Also my favorite book ever, just so more people can read it :)
Brave New World by Aldous Huxley: amzn.to/3c7o91c
#provider #firestorestream #flutterprovider
![Null Safety Explained | Why it is Awesome!
I have been dragging on learning Null Safety. But I finally took the plunge to learn it for this video. And let me tell you I am so excited for it to be in stable. I think it will make the code base so much easier to work with. A lot of potential errors will be caught, and overall will be a better developer experience. In this video we will explain the basics of Null Safety, and why it is so great.
DevTools Video: https://youtu.be/b4dCHbINmyk
Longer Null Safety Video: https://www.youtube.com/watch?v=b6YntQSKS7g
Help me achieve my goal by joining my channel!||||||||||..... 31% ............... 31.5K/100K
Joined.
➡️ Hit the [Subscribe] button or click here to sub:https://vod.run/s/UCNaJHBXsvbfkItVMNmzmTPQ
Connect With Me
✦ Live Coding: https://www.twitch.tv/tadaspetra
✦ Twitter: https://twitter.com/tadaspetra
✦ Chat on Discord: https://discord.gg/CPwSezC
✦ Instagram: https://www.instagram.com/tadaspetra/
✦ My Website: https://tadaspetra.com/#/
I also do lots of Investing
✦ FREE stock: https://join.robinhood.com/tadasp2
My Top 5 Books:
✦ Brave New World - Aldous Huxley: https://amzn.to/2JyaK96
✦ 1984 - George Orwell: https://amzn.to/3lmLzUk
✦ The Millionaire Fastlane - MJ Demarco: https://amzn.to/2ViGthn
✦ The 4-Hour Workweek - Timothy Ferriss: https://amzn.to/3mnypYD
✦ Homo Deus - Yuval Noah Harari: https://amzn.to/2VlFRYe
Youtube Gear
✦ MacBook Pro 16 inch: https://amzn.to/3qe4MeF
✦ MX Master 3 Mouse: https://amzn.to/2VlkZQS
✦ Canon Rebel SL3: https://amzn.to/2ViIfPv
✦ Hiearcool USB Hub: https://amzn.to/3llsIsP
✦ iPad Pro 12.9 (3rd Generation): https://amzn.to/36kaVy0
✦ Apple Pencil (2nd Generation): https://amzn.to/2JoHy4y
✦ Yeti Microphone: https://amzn.to/37oRNOq
✦ Rode Boom Arm: https://amzn.to/3lnEKCb
✦ Blue Radius II Shock Mount: https://amzn.to/2JoIfea
✦ Blue RPop Filter: https://amzn.to/39rQSiZ
✦ Sony WH1000XM3: https://amzn.to/3moWgHh
0:00 Introduction
0:29 2 Types of Flutter Developers
1:11 Null Safety Concepts
2:20 Sound Null Safety
3:00 Keywords and Operands
4:16 Code examples
8:10 Migration Tool
Thank you for watching!
#flutter #dart #nullsafety Null Safety Explained | Why it is Awesome!](https://i.ytimg.com/vi/_VrulBiOV_o/mqdefault.jpg)









