I remember the first time I saw MaterialStateProperty to handle color in a Text button when FlatButton was deprecated which made me angry to some extent. But now since my app has custom themes and stuff, the new age MaterialStateProperty makes life easier. Edit: But I still like FlatButton for its one feature. When I pass onPressed as null, it will automatically pick a disabled color based on my background color and disable the button.
But the same video would still be about MaterialStateProperties! jk - Stay tuned. We're still working non-stop to find the perfect blend of simplicity and power for routing!
What if I just want to set a color for one state without messing with all other default colors? e.g. in DataRow, I want to set a hover color and leave all the rest as is.
It's also worth noting that the old buttons will soon be removed from the framework entirely, so the new age buttons are coming for us all sooner or later!
Hello Sir, I have Advance++++... Question. How to Media Player Notification in flutter with Custom Layout. Thank You For Giving Me Your Important Time. Please any reply.
I didn't understand the point of this video its too long and side explaining and this why im still using deprecated flatbutton, please do short video straight to the subject
He uses more expressions in a video than I have used in my entire life 🙇
Your life not ended till now so it's.......😂🤣
@@Qbtaumai "till now" is silent 🤣
@@vaibhavdangayachvd 😶😶😶
I don't know how I would be able to handle the Flutter framework without this series!
It hasn't occurred to me to create a class that implements MaterialStateProperty (like you do in 6:43). Thanks!
Hows the life after google ? 😅
aren't you the guy in this video ? jk
@@kaivalpatel3990 not bad, thanks for asking!
@@filiphracek Are you happy? Enjoying what you are doing ? Its important
I would say, this property makes more sense when creating for different platforms i.e. beyond Android and iOS
What a great video, I am much more "sold" on the new API now. Well explained and executed. Thank you.
The "are we having fun yet" is priceless! I love that!
Exceptional explanation of the new API, the reasons behind the new API and the comparison with the old API for context... 🥇
I remember the first time I saw MaterialStateProperty to handle color in a Text button when FlatButton was deprecated which made me angry to some extent. But now since my app has custom themes and stuff, the new age MaterialStateProperty makes life easier.
Edit:
But I still like FlatButton for its one feature. When I pass onPressed as null, it will automatically pick a disabled color based on my background color and disable the button.
Wowo, I googled this two hours ago and now this video comes up
Change is for good.. but all the time I have to open documentation to find proper value for button style parameter. 😬
yeah ! exactly
Flutter is developing and getting Amazing day by day🤩. Best wishes!!!
😄😄😄I still got a long way learn... Its amazing to see this improvements❤
way to make changing the colour of a button super complicated. do the devs hate people trying to learn flutter or what??
Flutter official under-the-hood materials quality and amount are few grades higher those that native platform teams produces. Thank!
I would like to see a big video for themes... All this code is only needed in one place if we do it right 🤔
Stay tuned!
Yes! Themes have fallen apart completely now, unless there's some new magic way of not having "Colors.blue" all through the code...
Why do all button properties support animated transitions between different states except background color?
I need to create my own fancy button, and how i can use this ? how my fancy button give it material state to me?
I was confused as heck when I ran into this a couple weeks ago 😅
Very well explained. I'm in!
Right on, Emad! Glad you enjoyed the video 😎
If you're interested, you can catch even more Decoding Flutter right here:
goo.gle/DecodingFlutter
Please do the same video about Navigator 2.0
But the same video would still be about MaterialStateProperties!
jk - Stay tuned. We're still working non-stop to find the perfect blend of simplicity and power for routing!
What if I just want to set a color for one state without messing with all other default colors? e.g. in DataRow, I want to set a hover color and leave all the rest as is.
Use 'MaterialStateProperty.resolveWith' (not MaterialStateProperty.resolveWith)... and then, return null if you want to use default color.
Does flutter team work from home forever
We don't, mercifully, but our film-from-home setups lasted for a while :)
Thanks, this explains the change very well.
when will Router documentation?
That was actually clear.
Remove the flutter native splash screen it is possible how we can do this one major issue.
Bro can you make a video on how to make multiple images into 2 FPS gif in Flutter
thank you!
awesome tips!!!!!
THANK YOU
terbaik
perfectly perfect! 🔥
Now widgetStateProperty
Love u sir
Nice video
More love you sir
Awesome 👍👍👍👍👍
Thats why I am using deprecated flatbutton and raisedbutton 😂😂
It’s not hard to migrate, just use the stylesFrom
@@hyungtaecf i know
It's also worth noting that the old buttons will soon be removed from the framework entirely, so the new age buttons are coming for us all sooner or later!
@@laybunzz If thats the way we gonna all die one day😂 just kidding will see that day 😂
perfect
Esses caras são muito engraçados! / This guys are so much funny! 🤣🤣
Bangladesh 🇧🇩🇧🇩
India 🇮🇳🇮🇳
Hello Sir,
I have Advance++++... Question.
How to Media Player Notification in flutter with Custom Layout.
Thank You For Giving Me Your Important Time.
Please any reply.
Use just audio plugin by suragch read medium article
@@kaivalpatel3990 have you any code? Because i have already try it.
@@jayswalviraj4528 Yes I have build a media player in flutter with just audio and made an app like resso but sadly couldn’t share the code 👨🏻💻
@@kaivalpatel3990 please share your image link.
Kyrgyz Républic 🇰🇬
boa flutter
I didn't understand the point of this video its too long and side explaining and this why im still using deprecated flatbutton, please do short video straight to the subject
I just get to it today and say I will google how it works then I get this video notification wawooo
Such actor lost to programming