I had previously written a post about Creating an MQTT app in Flutter (https://anoop4real.medium.com/flutter-how-to-create-an-mqtt-app-5a38b6617eb2) … it had a limitation. with respect to sharing the connection across multiple screen. I gave an attempt in changing that and implemented a shared mqtt manager. Here is how I did it