of my application, I want to save it in shared preferences, but the problem is that it doesn't update the UI so I tried using riverpod for that. But i can't figure out how to do that. Anyone has a project with theming in Flutter?
I am not sure about the provider. But wrap the builder above material app so that it will rebuild the whole app theme whenever user change it. I used like this with bloc and it was working fine
Обсуждают сегодня