Future And Stream Provider Simply Explained
Vložit
- čas přidán 27. 07. 2024
- 👉 Pre Sign Up to Flutter Learning Platform :
learncodecode.com/fluter-lear...
🔥 Check out my courses - zukunf.com/courses
🎨 Source code:
pub.dev/packages/provider
dart.dev/codelabs/async-await
⏰ Timeline:
00:00 - Introduction
00:28 - What is a Future Provider?
01:23 - What is a Future?
02:48 - 2 types of Firestore data
03:06 - Get a collection of documents with Future Provider
05:09 - Future provider to get a Firestore document
06:32 - One property about Futures
06:49 - What is a StreamProvider?
07:17 - What is a Stream?
08:08 - Single Document from StreamProvider
09:12 - Collection of Document from StreamProvider
10:13 - Challenge
🦋 Hear my thoughts on Twitter -
/ thehappyharis
📷 Get updates frequently on Instagram -
/ thehappyharis
🤓 See daily learnings on LinkedIn -
/ muhammad-haris-bin-sam...
😂 Watch my funny side on TikTok -
/ thehappyharis
📘 Rarely here, but why not Facebook:
/ happy-hilarious-haris-... - Zábava
Thanks bro
Can you make a video on how to use animations in our app.
If we create our own stream then if it is affect our app performance?
but if stream is completing and return(or update) the task, why do we need to use future?
super bro
Please make one with riverpod and HookWidget
Could you make a video how to use firestore collection and get in the app the documents from it but just for logged user in firebase AUTH?
Slide at 5.34 shows .documents('id').get(), but the following slide, on line 5 just shows .getDocuments(). Is this a mistake?
Yes you are right. It should be getDocuments. However, if you use the new firestore flutter sdk, its get.
Could you make a video on Riverpod? please
Riverpod solve last problem!!
Hello man, As always I love your video, How can I contact you?
Stream: sequence of bytes
Thank you for the suggestion!
pls make a new tutorial, bcs there's an update
seriously why view so little
Proxy in-depth please
StreamProvider starts at 6:49