Flutter: How to rebuild the entire app to change the theme or locale
Update: although this widget does work as described it’s an anti-pattern. The better approach would be to define the state and let Flutter handle it. Thanks to Pascal Welsch for pointing this…
Read on hillelcoren.com