Open Dean-Spotec opened 2 years ago
if I comment ThemeProvider.themeOf(context).data.splashColor it just build once. the demo you provided behave the same.
ThemeProvider.themeOf(context).data.splashColor
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.
if I comment
ThemeProvider.themeOf(context).data.splashColor
it just build once. the demo you provided behave the same.