Build a Flutter App with Dynamic Theme SwitchingBuild a Flutter App with Dynamic Theme Switching
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
🌗 Dark mode. Light mode. User's choice.
Built a Flutter app that lets users switch themes on the fly — and actually remembers their preference the next time they open it.
What's under the hood: → BLoC for clean state management → SharedPreferences to persist the user's theme choice → Smooth transitions between dark & light mode
No unnecessary rebuilds. No lost preferences. Just a responsive UI that respects what the user wants.
30-second screen recording below 👇
🔗 Source code: https://lnkd.in/dhBq_zUj
Portfolio also in Flutter https://sohailokzz-flutter.vercel.app/
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started