Closed witwash closed 1 year ago
@ookami-kb can you please look at this one? Tests should be working. Could be due to inconsistency or something :-/
I wouldn't make it part of the storybook. Mainly, I don't like adding a dependency on shared_preferences
.
We can instead add the configuration for the plugin, e.g. initialTheme
and onThemeChanged
, and it would be up to the user to save/restore it.
Added support for saving theme mode.