Firestore Stream with Provider @tadaspetra
Firestore Stream with Provider  @tadaspetra
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 ProviderNull Safety Explained | Why it is Awesome!How To Stay Organized as a Developer with Notion in 2021How to Debug Flutter Apps with DevToolsI built a WiFi Controlled LED with SwiftGoogle Sign In | Complete Flutter App #6Flutter Full Course - Building Production AppControl Lights with FlutterI built a Flutter App Directory with AIMVVM Architecture Simplified - Flutter RecommendationBook Club History | Complete Flutter App #2010,000 Subscribers Special
Tadas Petra |

Firestore Stream with Provider

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER