In this article, we will learn about changing the theme (Light/Dark mode) of an app by using custom options with Bloc. Bloc is a state management library that helps improve the code’s quality and makes handling states in the app much more manageable. Dynamic Theme means changing/updating themes on the fly from anywhere inside the app. […]