You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to define accentColor , scaffoldBackgroundColor , for each brightness.
also I have some textTheme which I want to define for each brightness.
but if I write scaffoldBackgroundColor like bellow , it doesn't work:
it seems that this themeData execute only once,
if I use DynamicTheme.of(context).setThemeData(Theme.of(context).copyWith());
also it raised an error
because I want to save last theme which user select and its accentColor and ... .
also I tried to define darkTheme in materialApp but it doesn't work.
if we had possibility to define brightness features , it was so good.
but is it possible?
The text was updated successfully, but these errors were encountered:
I want to define accentColor , scaffoldBackgroundColor , for each brightness.
also I have some textTheme which I want to define for each brightness.
but if I write scaffoldBackgroundColor like bellow , it doesn't work:
it seems that this themeData execute only once,
if I use DynamicTheme.of(context).setThemeData(Theme.of(context).copyWith());
also it raised an error
because I want to save last theme which user select and its accentColor and ... .
also I tried to define darkTheme in materialApp but it doesn't work.
if we had possibility to define brightness features , it was so good.
but is it possible?
The text was updated successfully, but these errors were encountered: