Navigating to a new screen when stream value in BLOC changes

You should not use StreamBuilder to handle navigation. StreamBuilder is used to build the content of a screen and nothing else. Instead, you will have to listen to the stream to trigger side-effects manually. This is done by using a StatefulWidget and overriding initState/dispose as such: class Example extends StatefulWidget { final Stream<int> stream; const … Read more