u/RandalSchwartzin r/FlutterDev • Recommends
Why people are getting FutureBuilder and StreamBuilder (usually) wrong
So a few of us on Discord late last night started discussion my “fixing futurebuilder/streambuilder” video at link to this video
It was suggested to me that many videos actually get it wrong (putting the creation of the future directly in the future: parameter). I could imagine some tutorial videos possibly getting this wrong, but my quick survey led me to believe otherwise.
Googling “flutter futurebuilder tutorial” shows many pages of results. Just on the first page, two of the videos have the title that includes “THE RIGHT WAY”. And indeed, they get it right (create the Future in State, then initialize in initState).
One Hu…