I'm having a serious issue with code duplication because I have created 2 different instances from a Bloc that holds the color change of a button and provided them to 2 screens. I wanted them to act independently, but unfortunately, both buttons work the same. Can anyone give me a clue to achieve this without creating another bloc for the next screen?. I have provided the bloc to the main screen and on the 2nd screen, I have bottom navigation and it has 2 screens.