ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก
Futures and Streams (Flutter FutureBuilder, StreamBuilder)
ฝัง
- เผยแพร่เมื่อ 14 ส.ค. 2024
- How to use Futures, FutureBuilder and StreamBuilder in Flutter. Handle Streams and Futures with async and await in Flutter and Dart.
Click here to Subscribe to Johannes Milke: www.youtube.co...
👉 12 Week Flutter Training | heyflutter.com
👉 Flutter Masterclass Courses | heyflutter.com...
Source Code | github.com/Joh...
My Courses | heyflutter.com
Follow Newsletter | johannesmilke....
SUBSCRIBE HERE
bit.ly/Johannes...
SUPPORT & SPONSOR ME
github.com/spo...
TIMELINE
0:00 FutureBuilder
6:56 StreamBuilder
10:19 Future (Async / Await)
SOCIAL MEDIA: Follow Us :-)
Twitter | / heyflutter_
Linkedin | / heyflutter
#Flutter #Tutorial #JohannesMilke
LIKE & SHARE & ACTIVATE THE BELL
Thanks For Watching :-)
This might help you :)
👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
ALL Source Code: github.com/JohannesMilke/futures_streams
Flexible Widget Tutorial: th-cam.com/video/5TwBXLZdVvk/w-d-xo.html
Expanded Widget Tutorial: th-cam.com/video/N1FMX4rDn6Y/w-d-xo.html
Spacer Widget Tutorial: th-cam.com/video/n4dJVUdj4ik/w-d-xo.html
FittedBox Widget Tutorial: th-cam.com/video/WpTMNArnXdc/w-d-xo.html
Flutter Layout Basics Tutorial: th-cam.com/video/yYxueTNIDlA/w-d-xo.html
Row Layout Basics Tutorial: th-cam.com/video/lY5GtNkvyhM/w-d-xo.html
Column Layout Basics Tutorial: th-cam.com/video/nW9pAyDs-wE/w-d-xo.html
Expansion Tile Tutorial: th-cam.com/video/vRWY-IQAin0/w-d-xo.html
Expansion Panel Tutorial: th-cam.com/video/r7L146d9YA8/w-d-xo.html
Bottom Sheet Tutorial: th-cam.com/video/TXYuaiukw7E/w-d-xo.html
Popup Dialog Tutorial: th-cam.com/video/4pn-_md5Ol4/w-d-xo.html
Dropdown Menu Tutorial: th-cam.com/video/z0ihUbwlSHs/w-d-xo.html
PageView Tutorial: th-cam.com/video/sFXg-phkbQU/w-d-xo.html
Page Transition Animation Tutorial: th-cam.com/video/_R3E_aof69c/w-d-xo.html
Horizontal ListView Tutorial: th-cam.com/video/baA_J5tUtEU/w-d-xo.html
Nested ListViews and Columns Tutorial: th-cam.com/video/ZpHuAbYWL3w/w-d-xo.html
ChatApp UI Design Tutorial: th-cam.com/video/eGhvL082-Pc/w-d-xo.html
An impressive explanation, everything very clear, thank you very much for your time to create this video.
Glad to hear that, You are most welcome Software BJT! 😊
I came from js and this was so easy to understand
In short : Streams are higher version of Future
Future = Waiting -> Done
Stream = Waiting -> Active -> Done
Cool @devkumar9889 😀
Thanks for existing Johannes
it’s most feature to dev app , thanks you for bring this to teach us😄
finally your voice 😌
cool, as always, the necessary topics are revealed
very very thanks johannes,
that video is very usefull...
Glad I could be of help, Thank you SuSi Empire! 😊
Finally I found what I've been looking for. Thanks! :)
You are welcome, @smartcoding__!
Thabks! You just saved my life
Those little hints, hidden some where are imho the strength of "this guy" ;) great work.
Thanks, inselbergos! 🙂
Love it! When you can, make a video of a real context using streambuilder, thanks any way!
Awesome thank you for the video ☺️
Thanks johannes!
You are welcome, @joseinTokyo 😊
Internet video player how to change a quality please explain
Hello sir, very COOL tutorial. Thanks a lot!!!
Thank you man!
You are welcome, Average Guy!
Nice video, helpful very clear explanation.
Wondafull. 😍
Thank u Johanes for this video 👍📹
Hello @johannes Milke i big fan of your teaching style for that thank you so much I have one request for you that make video on "BACKUP APP DATA IN GOOGLE CLOUD LIKE WHATSAPP BACKUP"
Amazing video! Can you make a video about the block package?
thanks bro!
You are welcome, @SuongGioDoiTrai91!
Thanks 🌸
You are welcome, Abdulkarim Salem!
Great video. Thanks
johannes can you explain on next vedio => how to return multi arguments with return ..... but retun just recive just 1 argument ///// for example in textfield when user pressed on close icon on suffix iconBotton we will return controlle.clear() and return isSendButtonActive = false i didnt see any vedio for explain this subject from you
Hello sir ,
Is there any tutorial for using my own augmented reality feature in project by flutter?
I appreciate your help :)
Thank You Luffy Zoro! Follow this link: medium.flutterdevs.com/augmented-reality-in-flutter-1153b0ef2758
I hope you will get your answer 🙂
Guten Abend Johannes. Ich habe ein Problem. Ich arbeite an einem Projekt, ich muss eine Anwendung oder ein System wie kahoot codieren. Das ist eine Plattform, auf der jeder zur gleichen Zeit Multiple-Choice-Fragen beantworten kann. Aber ich stecke insbesondere bei der Frage fest, wie ich die gleiche Frage allen gleichzeitig anzeigen und ihre Antworten speichern kann. Ich kann zum Beispiel keine Funktion starten, wenn sich eine Variable auf Firebase ändert. Kannst du mir bitte helfen?
thank you sir
You are welcome, Duccc!
@@HeyFlutter sir, can you answer the question i asked you on facebook
i have a problem with firebase i wanna ask you, can you answer me?
great sir😍😍😍😍😍😍😍
Thank you, Abdul Rasheed! 🙂
Hello Mr. Milke! For the streaming section, I wanted to ask how would you do a broadcast stream? That is, one that you could subscribe to more than once. I've seen other videos that seem to be using older code that use a streamcontroller and set it to be a broadcast. Is that functionality still available? Thank you!
Thank You Alex Boyd! Follow this link: medium.com/flutter-community/flutter-stream-basics-for-beginners-eda23e44e32f
I hope you will get your answer 🙂
Hello, thank you for the video, you did not dispose stream, is there any specific reason to not dispose it? or it is unnecessary since you use getUserUpdatedLocationStream() function?
Thank You Ergün Erkuş! Follow this link: www.geeksforgeeks.org/flutter-dispose-method-with-example/
I hope you will get your answer 🙂
Hello brother can you please show us how tp use workmanager package for ios specially .
Also there is a package called Home_widget its about create home screen widgets with native code .
Difference between FutureBuilder, StreamBuilder
fixed value : changing = return : yield
Great, Thank you Jeffrey Lim!
very good tutorial. if you have to make several calls to the same api. A bit like for the shazam application. How can we proceed?
Thank You Louise Sandrine E.! Follow this link: alla-hajj.medium.com/how-to-handle-multiple-api-calls-in-flutter-dart-like-pro-33200f0b8520
I hope you will get your answer 🙂
My future builder keeps refetching data. How do I stop this?
use snapshot.currentState if it's done ✔️ use a break;
@@belveloper share a snippet? I've tried memoizing the function call the api but it keeps firing, every time. I've done what's in the video already with no luck
2:27 even if he made a request only in the initialization as in the video?
Thank You Joseph Joey! Follow this link: stackoverflow.com/questions/53170330/reload-data-when-using-futurebuilder
I hope you will get your answer 🙂
Hello thanks you for your good 👍 video but I was wondering 🤔 how I can read array of object from firebase
Thank You basel izz! Follow this link: stackoverflow.com/questions/50808513/how-do-you-load-array-and-object-from-cloud-firestore-in-flutter
I hope you will get your answer 🙂
@@HeyFlutter thank you 🙏
is it possible to make a class that uses a cron job to generate scheduled functions and pass it to a stateful widget?
Thank You jones mondejar! Follow this link: medium.com/swlh/the-simplest-way-to-pass-and-fetch-data-between-stateful-and-stateless-widgets-pages-full-2021-c5dbce8db1db
I hope you will get your answer 🙂
tks sir
how about assigning Stream/Future to non Stream/Future Variable
Thank You @MorsHs! Follow this link: stackoverflow.com/questions/53293928/how-to-convert-a-future-in-flutter-to-a-stream
I hope you will get your answer 🙂
great
Thanks, haroldpepete! 🙂
hello sir
Sir, how about getx?
@@HeyFlutter thank you sir, i am waiting for your video
free reading
Can you do a BLOC video
@@HeyFlutter Really appreciate it man
live flutter join
Miss your voice. 😭
your code isnot open source please make it open sorce i am trying but i can't take permission
Thank You Toshtemirov Asliddin!. I showed the main functionality, which is important for this package. Learn more about it here: github.com/JohannesMilke/sponsorware
please make firebase realtime and Google sheets data transfer vice versa, don't add this to list
please make this video as soon as possible please...
arghhh too much information in short videos haha, my head is arghghghgh
Glad you liked it, Muhammad Rizki 😀