How to listen string for changes in streambuilder

I want to create a streambuilder which will refreshing If my string is changed, how I can do that ?

Check out this official tutorial https://dart.dev/tutorials/language/streams#broadcast-streams

I will try to write a code snippet for you