Riverpod Tutorial - Flutter Dark Mode Switch
Vložit
- čas přidán 9. 07. 2024
- 📄Flutter has although to a whopping extent eased off the process of customizing themes & their components. Here, In this video, we will explore Implement Theming Using Riverpod In Flutter. We will implement theming using the Riverpod state management in your Flutter applications.
🌐Reference :
🔗 / app-theming-in-flutter...
🤖About AI - Please Subscribe :
🔗 / @theaionline
📁Source Code
🔗 github.com/mahdinazmi/Flutter...
🌐 Telegram Community
🔗 t.me/flutterguysgp
⚡ SUBSCRIBE HERE⚡
🔗 cutt.ly/2XkZz0X
🌐 Social Media
🔗 Linkedin: / mahdinazmi
🔗 GitHub: github.com/mahdinazmi
🔗 Twitter: / mahdinazmi
#flutter #fluttertutorial #fluttercourse - Věda a technologie
Thanks for providing the SRC!
Nice and clean 🎉
Thank you! 😊
Thank you very much ❤
❤❤
Old riverpod code. Better not use the changeNotifierProvider. Just use riverpod code generator with the (async)notifier. But nice vid! Keep up the good work!
Why don’t use changenotifierprovider? I watch riverpod tutorials,they seem used changenotifierprovider too. Although this video just uploaded few days ago, did it also use old code?
@@HUTIENLAN @immutable is supposedly the safer way to do things - NotifierProvider
I merge three work in a single app. home page i added the animated gradient, using appbar i use dark mode light mode and from starting app i add a splash screen. Thanks bro
thank you very much, always good content provided by you !
To go further, and outside of this video, do you recommend Riverpod or Bloc/cubit ?
I prefer Bloc
if you close the app and come back to it ,will the app keep the mode that you set it by switch button ?
No , For this you can use Shared Preferences and store theme
Love your channel!!
Can you recommend me a good course of Flutter?
I have experience in web dev, and want to try this world :)
Could you do same app using material 3
Do you have GetX version? Or did I miss it?
Unfortunately, I don't have it.
In this use case, there is no difference between using hooks and flutter_riverpod.
Yep, exactly
Bro make tutorial app with provider and firebase or riverpod and firebase