DEV Community

Discussion on: Managing multiple themes in flutter application

Collapse
 
remoteportal profile image
Peter Alvin

I'm now using this in my code.
You left out one important thing: how to trigger widget rebuilds. This seems to be working for me: Consumer(builder: (context, themeModel, widget) { ... }

Collapse
 
devdammak profile image
Damola Adekoya

hey sorry for that... most of the code there. I typed it off-head directly to the article...