FutureBuilder in Flutter Tutorial | Dart | Flutter Basics
HTML-код
- Опубликовано: 10 дек 2021
- In this Tutorial we are going to take a deep dive into Future Builder and understand why we need to use FutureBuilders, how it affects our app's performance and a general description of what happens behind the scenes of FutureBuilder widget. We will even fetch data from an API and display it in our app using FutureBuilder.
We will also have a look at FutureBuilder v/s ListViewBuilder in this video understanding the differences in them!
#flutter #futurebuilder #dart
Links:
API: jsonplaceholder.typicode.com/...
HTTP Package: pub.dev/packages/http
Connect With Me Here:
/ optimalcoding
namanrivaan@gmail.com
github.com/rivaanranawat
/ namanrivaan Хобби
the volume is just on the left side.🤭...anyhow great video.
Sorry about that! Was one of the first videos of the channel. Fixed in the videos after this
How to reuse this FutureBuilder widget in a Tab bar view?
How come the future isn’t called over and over on build ?
When assigning a value to Any variable declared in State, we don’t have to use setState? No wonder my widgets keep getting redrawn !!😅
No no. setState is only used when you want to rerun the build function. So basically whenever you assign a value to a variable, the variable gets that particular value. But when displayed on screen, it doesn't get updated. Using setState, we just rerun the build function.
@@RivaanRanawat Cool. Thanks
please make a video on Streams 🫶👏🙏
Noted!