Тёмный

Flutter Change Application Theme | Dynamic Theme Management Flutter Guide 

Hussain Mustafa
Подписаться 11 тыс.
Просмотров 1,3 тыс.
50% 1

Опубликовано:

 

24 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@preneure
@preneure 10 месяцев назад
Wow, I've been struggling with theme management in Flutter, and your tutorial came to the rescue! Your approach is so straightforward, and I appreciate the attention to detail. Subscribed for more!
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
You're very welcome!
@rlt_app
@rlt_app 10 месяцев назад
Brilliant tutorial! Well-structured and beginner-friendly. Looking forward to more!
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
Awesome, thank you!
@Saeui-u5m
@Saeui-u5m 10 месяцев назад
Hi Hussain, I'm having trouble loading other saved settings or themes in Settings page (shared preferences). I'm using a Toggle Button, and when loading the current state, it lags behind. I can't solve it with initState. Should I use didChangeDependencies? I'm trying to retrieve it through the Provider class. What should I do for the ideal load operation from the provider class? Can you help :/ Thanks.
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
Hi, I'll be releasing a video on provider state management soon on my channel, hopefully that should answer this question for you.
@damanpreetsingh8389
@damanpreetsingh8389 9 месяцев назад
Nice tutorial, Already subscribed 👍🏻
@m_hussain_mustafa
@m_hussain_mustafa 9 месяцев назад
Awesome, thank you!
@santahouch
@santahouch 10 месяцев назад
nice tutorial as usual thanks a lot
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
You’re welcome. Thank you for your support.
@RonyHassan47
@RonyHassan47 10 месяцев назад
Wow. That's great and easy way
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
You’re welcome.
@lermy3d
@lermy3d 7 месяцев назад
My project does not seems to detect neither the 'MultiProvider' class nor the 'ChangeNotifierProvider' class either. I did not see a dependency on the import section, what am I missing? I am using Flutter within Android Studio.
@lermy3d
@lermy3d 7 месяцев назад
Ahh I was missing the 'provider: ^5.0.0' dependency on the pubspec.yaml' under the "dependencies:" section!!! All sorted out!
@m_hussain_mustafa
@m_hussain_mustafa 7 месяцев назад
Great to know you figured it out. 👍
@lermy3d
@lermy3d 7 месяцев назад
Thank you! This tutorial was really useful!
@karimabdeenabdelmaksodabde5162
@karimabdeenabdelmaksodabde5162 9 месяцев назад
Is this abig difference between it and the default way by creating different themes files for each theme , in terms of its complexity and time of reloading the theme?
@m_hussain_mustafa
@m_hussain_mustafa 9 месяцев назад
Hi, no big performance difference.
@DevilHun-g2p
@DevilHun-g2p 9 месяцев назад
Sir how many years experience you have in flutter 🥵
@m_hussain_mustafa
@m_hussain_mustafa 9 месяцев назад
Hi, I have close to 5 years experience.
@Saeui-u5m
@Saeui-u5m 10 месяцев назад
Thank you for the Hussain video. Is this method the best method for you? Or is it to show that there is another way? I used to define theme colors and settings in the Constants folder and use them with Provider again. Does using JSON create any slowdown?
@m_hussain_mustafa
@m_hussain_mustafa 10 месяцев назад
Hi, there are multiple approaches to solving the same problem. This solution I’ve demonstrated works equally as well as what you’ve mentioned as well and that’s also a good way of approaching the problem. It completely depends on your preference.
@Fazz-mt8lr
@Fazz-mt8lr 9 месяцев назад
❤️
@m_hussain_mustafa
@m_hussain_mustafa 9 месяцев назад
Thanks for your support.
Далее
Why is it different from what I thought?
00:15
Просмотров 3 млн
Nested Navigation in Flutter using GoRouter
8:10
Просмотров 1,3 тыс.
Do THIS To 10x Your App Revenue
23:06
Просмотров 1 тыс.