A new Flutter application to test bloc listener when the bloc provider is on top of root widget. This project is to replicate the issue.
After running the app you can see the home screen getting pushed to the route stack in an infinite loop and even you can check the logs for UserBlocListener
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.