StreamBuilder
Learn about the StreamBuilder widget, which is used when a UI is built with a continuous stream of inputs.
Imagine building an Instagram news feed page in its app in which Instagram’s newsfeed server will continuously give an updated result, i.e., a list of posts for the user. We’ll continuously listen to this stream of the list and update the news feed page accordingly. To make this entire process easier in Flutter, there’s a StreamBuilder
widget that does all of these things.
Example
Let’s see an example and look at how the text changes after every second.
Access this course and 1400+ top-rated courses and projects.