If you find this video useful, consider Following me on: 👉 Twitter: twitter.com/theretroportal 👉 Medium: retroportalstudio.medium.com 👉 GitHub: github.com/retroportalstudio 👉 Instagram: instagram.com/retroportalstudio 👉 Patreon: www.buymeacoffee.com/theretroportal
Great, you have covered most important topic which is neccessary for everyone, I used to do inline theming for first flutter app which has lite and dark theme, and 20% code was for themeing, :)
Thanks for the tuto Another thing for everyone to know, there is a transition in the textTheme, when you go an error, it may be because of the mix in the set of attribute. Some are frome 2018 and some from 2021 (headline1 from 2018 headlineLarge from 2021) don't mix them up else you got an error
hey just a side note we can use animated builder around the material app to listen to the change notifier which is much more simple and easy (edit) video was awesome btw
@@RetroPortalStudio wait is it really in the docs cuz ive never seen that before also we can combine it with a service locator to get a wonderful state management solution
@@RetroPortalStudio or just make a video on it so others can benefit from it too instead of it being somewhere deep in the docs where no-one can find it
Question : What if we are creating a custom button using { Material, inkwell,container, Text and icon widgets...} We have to give the background and button color and that color should be depend on the theme data. When we change the theme globally the cusbutton color also should change like elevated button????
If I move the MyHomeScreen widget to another page, the theme does not toggle, but if it is in the same page as the main function and the MaterialApp it works.
for anyone running into this problem when trying to use primaryColor at 7:56, try using colorSchemeSeed instead: colorSchemeSeed: COLOR_PRIMARY also, its not good practice to use all caps and underscores for constant names e.g. const COLOR_PRIMARY. It is better practice to use LowerCamelCase e.g. const colorPrimary =
sir when the default white screen loads the status abr is black and font there is white how to change that status bar? in my app i hve set desired color status bar but when it loads the default splash white screen has the status bar which is not of my desired color? how to change? on app pages it is okay but not on default splash i m able to apply
If you find this video useful, consider Following me on:
👉 Twitter: twitter.com/theretroportal
👉 Medium: retroportalstudio.medium.com
👉 GitHub: github.com/retroportalstudio
👉 Instagram: instagram.com/retroportalstudio
👉 Patreon: www.buymeacoffee.com/theretroportal
Hvala!
Great, you have covered most important topic which is neccessary for everyone, I used to do inline theming for first flutter app which has lite and dark theme, and 20% code was for themeing, :)
Glad it was helpful! 😀
Clearly explained. Great tutorial. Many thanks
I like the exactitude! straight to the point, Thank you.
This tutorial is very helpful, thank you
Hey, could you make a video on the new updated theming system in Material 3?
Things like using color scheme, seed color, etc.
Excellent tutorial. Congratulations!
Thanks for the tuto
Another thing for everyone to know, there is a transition in the textTheme, when you go an error, it may be because of the mix in the set of attribute.
Some are frome 2018 and some from 2021 (headline1 from 2018 headlineLarge from 2021) don't mix them up else you got an error
Thank you for the tutorial, Awesome!
Amazing video.
Useful info all the way.
This is great - very informative and clear. Thanks!
hey just a side note we can use animated builder around the material app to listen to the change notifier which is much more simple and easy
(edit) video was awesome btw
Thank you, and yes Sure you can 😁 It is even described somewhere in the documentation i remember 😅
@@RetroPortalStudio wait is it really in the docs cuz ive never seen that before also we can combine it with a service locator to get a wonderful state management solution
@@TechBuddy_ i am looking for it 😅 i read it somewhere
@@RetroPortalStudio or just make a video on it so others can benefit from it too instead of it being somewhere deep in the docs where no-one can find it
@@RetroPortalStudio hey I found it it's in the new app sample thingy
Made life clear, thanks a lot!
Thank you bro for making these videos.
6:16 what kind of magic you use to transform a Stateles Widget in to a Stateful widget in an snap of a finger?
right click on stateless, click refactor, click convert to stateful widget, done
You had me laughing by saying magic
@@andreisas1621 thanks!
Question : What if we are creating a custom button using { Material, inkwell,container, Text and icon widgets...} We have to give the background and button color and that color should be depend on the theme data. When we change the theme globally the cusbutton color also should change like elevated button????
exactly what i needed
If I move the MyHomeScreen widget to another page, the theme does not toggle, but if it is in the same page as the main function and the MaterialApp it works.
That's nice but i have trouble moving setting bar o another folder when I'm instanciating a new instance theme doesn't change
thank you . please upload more video
Thank you sir. Very helpful video.
primaryColor din't changed appbar color for me. Flutter 2.5.3.
Same for me. Also running 2.5.3
@@idlevandal69 The new way is using color scheme.
for anyone running into this problem when trying to use primaryColor at 7:56, try using colorSchemeSeed instead:
colorSchemeSeed: COLOR_PRIMARY
also, its not good practice to use all caps and underscores for constant names e.g. const COLOR_PRIMARY.
It is better practice to use LowerCamelCase e.g. const colorPrimary =
What if there is a container and I need to set custom color for dark/light theme in it, how to do that?
I've done the whole code correctly, everything is fine, I've checked it several times, but theme of the app is not changing, kindly guide me a little.
Did you find a solution, today a got the same problem. Thanks!
Me too
@@jyothishkoladath1907 i think i solved it, check my answer.
Awesome video bro. can you give details of the style of your mouse cursor ?. How can I use such a nice mouse cursor?
This is post production magic 😅
My HomePage is not in the same file, and I have used ThemeManager instance there as well, and it is not working.
sir when the default white screen loads the status abr is black and font there is white how to change that status bar? in my app i hve set desired color status bar but when it loads the default splash white screen has the status bar which is not of my desired color? how to change? on app pages it is okay but not on default splash i m able to apply
with vs extends "changeNotifier" which is better?
best ever!!! 💪
Great video
Didn't accentColor deprecated?
please make a video that explains Text Theme plz plz
Cool!
Hi, I want to use DropdownButton instead of a Switch to change the theme. What parameter do I use for the onChanged function in DropdownButton?
I want.to fecht image profil in the rest page of API
Thanks🥰
Bro what if the the _themeManager is not in same file
how I can use in another file
create new instance ?
use any state management of your choice
Awesome
Hi can this process work for flutter v2.2 and above
Any theme generator in mind ? Color combination ka idea nhi aata. Sare apps black & white theme ka banata hu. Sed lyf
coolors.co/ Check this out!
U BEST!!!
Not working. Can you help?
System theme is missing
thanks
Do I have to write
TextTheme _textTheme = Theme.of(context).textTheme;
in every files?
@@jan-ericsanker9411 how?
Yo bro can i get job learning flutter
Yes you can, twitter community is quite active.
Please install windows 11
nah...i'm not giving any theme in here
Why you are in a hurry?! You are not trying to deliver a solution you are teaching