Flutter

Flutter: Dynamic Dark mode with Provider and Shared Preferences

Dark mode trend in 2020 are massive, recently WhatsApp and Facebook deploying their app with dark mode. So this article I wanna try to explain how to make simple dynamic theme (light mode to dark mode) in Flutter with provider and shared preferences. Make dark mode in flutter is very simple with flutter provider for stage management and Share Preferences for storing user session.