theme_provider
theme_provider copied to clipboard
Hot reload build child widget tiwce
if I comment ThemeProvider.themeOf(context).data.splashColor
it just build once.
the demo you provided behave the same.
Yes, I think it is building twice as expected. The first time build is with the initial theme. But when the user saved theme is loaded (from sharedprefs) and applied, it causes another rebuild.