FutureBuilder (Widget of the Week)
HTML-код
- Опубликовано: 16 ноя 2022
- Learn more about FutureBuilder → goo.gle/3mEyrM0
DartPad → goo.gle/3OgtSGi
Got a Future and need some widgets to display its value? Try FutureBuilder! Give it a Future and a build method, and it'll create widgets based on the status of the future, plus update them when it changes.
This video is also subtitled in Chinese, Indonesian, Japanese, Korean, Portuguese, Spanish, Arabic, Brazilian Portuguese, Russian, and Vietnamese.
Get more tips! → goo.gle/FlutterWidget
Subscribe to Flutter! → goo.gle/FlutterYT
#WidgetOfTheWeek #Widgets #Flutter Наука
Subscribe for the latest → goo.gle/FlutterYT
Hi Google team. I think Google always trying to do something better for us. I also depend on Google. I know Google never make something default for us.
Thanks
Md.Iftakher karim Mamun
RUclips channel name
ikm mahi
Soooo don't be obtaining your futures from within the FutureBuilder, y'all!
We didn't quite get that right in the Take 1 version of this video, so... second time's the charm? :) Thanks for the patience as we worked on getting this second version out the door!
Great vid, now we are waiting 2nd take on streams, lol. :)
Build your future, learn flutter.
I knew what this episode was about before watching. You guys are very accountable :)
lol.
That's something I figured out thanks to stackoverflow and that it is indeed very critical to have the future function in the init state, assigned to a future variable (using late keyword) that is then passed to the future builder. snapshot has error is also very important for debugging.
It's so cool that in the implementation there is links to RUclips haha. Good job!
always a creative and pertinent animation in the end
neat and beautiful! hats off 💙
Just needed this:DDDD FLUTTER GANG LETS GO
Good explanation ❤
I wish I had a future builder in life
You do.
Awaiting for more takes 2
Esse vídeo está melhor e mais claro de como fazer corretamento o uso do FutureBuilder !
thanks
💜
how can i use more than one future in a future builder?
Thanks for fixing this. Now onto another low hanging fruit to milk lol
Things that keep me late at night
🤓
but how we do retry the future? setState wont work
💚
❤
Can you tell me the name. How scroll down whole page like RUclips and music player minimizer
If you will call setState, the future method will be triggered, and after multiple setStates there are multiple times future method will be called, how to prevent rebuilding widget and call future method after each setState? Global boolean var?
Put the future into a State variable in setState.
Isn't difficult to use FtureBuilder? I always use Provider package instead
I find the syntax of FutureProvider to be easier to express in code, and easier to combine with other states.
what is the difference between future builder and stream builder?
FutureBuilder is for building widgets based on a future while StreamBuilder does the same, but for streams
I have windows os, do i need a mac to learn and get job as flutter developer?
Mac is only required for deploying apps to Apple devices (e.g. iOS, macOS, etc.). You can still deploy flutter to other platforms
Is flutter synchronous or asynchronous? flutter alone.
Yes.
How to refresh the future?
Como ouvir em português o vídeo?
Might wanna replace the old video in the playlist.
Why there is no IDE exclusive for flutter?
VS code is a good option, but I hate when I need to add for example Firebase, or Change target SDK in android.., I have to open the app in android studio, also I tried 1000 time to build the app from vs code and always i get errors.
Because of problems of Android packages version me and many developers spend time in solve this issues.
It's will be a good step if flutter team Create an IDE that can help us . Like Unity , unity developers doesn't need to make changes in android native code, ....
Just use Android Studio bruh, works like a charm. ¯\_(ツ)_/¯
Firebase now can be added with CLI.
If I am just loading a network image from the internet should I use a future, I never do?
i would appreciate condensed video with no intros and background noise, if anyone watch few widget of the week in a row, you start hating this format..
Or... just use Riverpod's AsyncValue (:
This is the first time I've heard this voice actress on Flutter. I hope that was her last time too, I can't get the pronunciation and speed right at all.
The music is very annoying
What is the point of these useless guides
Its quick overview about widget in question. They reference these videos in widget description (when you code) and i think also in docs.
Bro your in my dispose method
@@fethisert5527 sublime
I'm still laughing.
These videos are awesome, they helped me to get started and still help me when trying new stuff
Wow it seems like I used FutureBuilder wrongly, I used to call future directly in FutureBuilder and also using snapshot.hasData
Many people have done this wrong, and the broken take 1 of this video didn't help. The documentation *did* explain why it was wrong, but people watch videos instead of reading. :)
💙
💛