Describe the bug
When we use IndexedStack and go to other tabs, the operation of changing color or color mode is not done properly!
It is necessary to rebuild the tab to fix it!
Expected behavior
I expected the color change to work well in other tabs.
Screenshots
In these screenshots, I went from light to dark mode, but some parts have not changed yet!
Bug screenshot
Correct screenshot
Desktop (please complete the following information):
OS: Linux
Browser: Chrome
Version: 118.0.5993.117
Smartphone (please complete the following information):
Device: Android
OS: Api 29
Browser: Chrome
Version: 118.0.5993.111
Additional context
Currently I have to use a global listener in all tabs to rebuild the tab!
Describe the bug When we use
IndexedStack
and go to other tabs, the operation of changing color or color mode is not done properly! It is necessary to rebuild the tab to fix it!Expected behavior I expected the color change to work well in other tabs.
Screenshots In these screenshots, I went from light to dark mode, but some parts have not changed yet!
Bug screenshot![Screenshot from 2023-10-29 11-18-27](https://github.com/BirjuVachhani/adaptive_theme/assets/20955005/0cf12373-adc8-4023-a1b6-c4d997237c4f)
Correct screenshot![Screenshot from 2023-10-29 11-15-45](https://github.com/BirjuVachhani/adaptive_theme/assets/20955005/34d1ad94-e3bd-4db6-91f2-b0fbce18e6a0)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Currently I have to use a global listener in all tabs to rebuild the tab!