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.
How to reuse this FutureBuilder widget in a Tab bar view?
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
me apny pods check krny lg gya kahi mery air pods to kharab nai ho gay😅
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!