blocFromZeroToHero
blocFromZeroToHero copied to clipboard
part #6 - snackbar showing up multi times
if navigate to second or third screen an press the increase or decrease button snackbar
showing up one time and when you back to the previous screen snakbar
showing up again same number of latest screen.
In my opinion the updated snacker implementation holds the previous Scaffold with context. I got it solved temporarily by replacing the BlocConsumer with only BlocBuilder and removing the listener implementation in the second_screen. Though a concrete explanation is required