No video

ThemeExtensions | Decoding Flutter

  Рет қаралды 56,335

Flutter

Flutter

Күн бұрын

Find out how to get the most value out of your Flutter app's theme, including how to use the new ThemeExtensions feature, arriving in Flutter in May, 2022. To see it in action, check out the DartPad below!
DartPad → goo.gle/3ycoi1G
Watch more Decoding Flutter episodes → goo.gle/Decodin...
Don’t miss an episode, subscribe to Flutter → goo.gle/FlutterYT
#DecodingFlutter #Flutter #Developer
product: Flutter - Development - User interface;

Пікірлер: 73
@d.winkler
@d.winkler 2 жыл бұрын
Finally something about styling and themes. What I still miss is a really good Documentation for each widget and parameter and the usage with image examples that would be perfect. Good job, like your Videos 👍
@flutterdev
@flutterdev 2 жыл бұрын
Hi D. Winkler, you'll find tons of documentation on all our widgets on our site. Check it out here: docs.flutter.dev/development/ui/widgets
@d.winkler
@d.winkler 2 жыл бұрын
@@flutterdev that's only half of what I would like.
@flutterdev
@flutterdev 2 жыл бұрын
@@d.winkler Thank you for replying! Image examples of Theme classes is a really interesting idea. We will pass this on to our team!
@monisashraf1647
@monisashraf1647 Жыл бұрын
I would second the D. Winkler thought here.. Flutter is amazing but seems for new bees documentation is bit harder
@LucaFang
@LucaFang 2 жыл бұрын
App theming is one of the few things that in Flutter really sucks, especially for someone that came from web development. Nice work, Flutter Team!
@MikeNugget
@MikeNugget 2 жыл бұрын
Flutter team at the beginning - lets hardcode everything in the semantics, yeah! Yeah, lets do this! Yohoo! Nice idea! Flutter team now - oh, crap.
@belilif
@belilif 2 жыл бұрын
Same observation
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
Haha, this is more or less 100% correct
@joranmulderij
@joranmulderij 2 жыл бұрын
It was just a terrible idea.
@amirgamil
@amirgamil 2 жыл бұрын
I'll be honest Craig. When Filip left and you arrived, I was disappointed. But I gotta say, I've come to like your style and your humour. And most importantly, you're clear as well. You're good man! Keep it up! 👍
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
Well shucks - thanks! You wouldn't believe how big Filip's feet are, so I was a little intimidated myself 😂
@amirgamil
@amirgamil 2 жыл бұрын
@@craiglabenz9147 You're doing a fine job of filling them my friend. Keep up the great work! 👍👏
@realjohnny
@realjohnny 2 жыл бұрын
This man definitely has a great acting career ahead of him
@gregsullivan7408
@gregsullivan7408 7 ай бұрын
LOL!!! Very well said. 🤣 Move over Jim Carrey 🤣
@joranmulderij
@joranmulderij 2 жыл бұрын
Yes I have been waiting for this! Thanks Flutter!
@RodyDavis
@RodyDavis 2 жыл бұрын
Super excited about the upcoming extensions 🔥
@flutterdev
@flutterdev 2 жыл бұрын
We're excited that you're excited, Rody! If you enjoyed this video, be sure to check out more episodes of Decoding Flutter here: goo.gle/DecodingFlutter Happy Fluttering 😎
@akkay5
@akkay5 2 жыл бұрын
Which stable version will this feature come out?
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
This feature is currently in the beta channel and will appear in the next stable release.
@nathanmersha5295
@nathanmersha5295 2 жыл бұрын
use double dimond bracket like (extensions: [ ...])
@StrikerTVFang
@StrikerTVFang 10 ай бұрын
Thank you! I was wondering why it wasn't working for me.
@TheRRJShow
@TheRRJShow 2 жыл бұрын
😂😂 expressions are on point...👌
@farahrayis5928
@farahrayis5928 2 жыл бұрын
This guy is so entertaining, it was a really fun and informative lesson. Thank you very much flutter.
@flutterdev
@flutterdev 2 жыл бұрын
We appreciate your feedback and you're very welcome!
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
Thanks! I really appreciate that :)
@hojdog
@hojdog 2 жыл бұрын
Yes really entertaining for toddlers
@orghaniian
@orghaniian 2 жыл бұрын
nice, since which version of Flutter is it available ?
@rivella99
@rivella99 2 жыл бұрын
In the DartPad mentioned Flutter version 2.13 is used.
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
@@rivella99 That's correct - this feature is currently in the beta channel and will appear in the next stable release.
@Ainigma
@Ainigma 2 жыл бұрын
The code snippet at 4:42 does not work, use this instead: extensions: [ HeroCardStyle(), ],
@redsun9594
@redsun9594 2 жыл бұрын
This guy is hilarious, great video
@agyieus777
@agyieus777 2 жыл бұрын
I am glad to see something about styling but it is so much boilerplate for just custom styling, it should be as simple as creating a StyleSheet for react native, I hope the Flutter team also thinks that this should be simplified in the future.
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
In theory, Flutter's version of a stylesheet is the separated theme. What made this quite painful in the past was the lack of complete extensibility, like CSS obviously offers natively. ThemeExtensions should go a long way toward bridging that gap!
@agyieus777
@agyieus777 2 жыл бұрын
@@craiglabenz9147 of course, I am not saying that this is not a very good step, the extensibility definitely needed some love, what I meant was more on the side of the trouble a dev needs to go through to extend a simple theme.
@jajasaria
@jajasaria 2 жыл бұрын
awesome video as ever. thanks
@ahmadalyaghshi
@ahmadalyaghshi 2 жыл бұрын
That "You shall not pass" was EPIC, i thought it really was Gandalf for a sec, lol.
@hojdog
@hojdog 4 ай бұрын
Easily amused
@rydmike
@rydmike 2 жыл бұрын
Been waiting for this! This is great, hope it lands at in new version released at Google IO
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
It's in the beta channel today and will hit stable at the next release!
@JohnDoe-fv5cu
@JohnDoe-fv5cu 2 жыл бұрын
We'll use it. In a couple of years when all those millions of packages in our pubspecs support this new version of Flutter. Looking forward to it
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
This is in beta now, will be in the next stable, and isn't a feature you need to wait for any external packages to support before you can start using it. The second you're ready to define a ThemeExtension, there's nothing that can stop you!
@yehorh
@yehorh 2 жыл бұрын
Wow! finally 🤩🥳! thx!
@luchitv1
@luchitv1 2 жыл бұрын
Flutter dev should please consider making the text font adapt to device selected fonts. It's hard doing the native thing.
@flutterdev
@flutterdev 2 жыл бұрын
Hey there - The team is aware of this feature request, but unfortunately there's no solution yet. That's being tracked on this issue here: github.com/flutter/flutter/issues/48381
@luchitv1
@luchitv1 2 жыл бұрын
@@flutterdev I'm glad you are aware of this issue. I was hoping to see this in flutter 3, but a little disappointed. I love flutter tho
@RiwenX
@RiwenX 2 жыл бұрын
The API looks a bit awkward tbh, but it's a step in the right direction
@ivanyoed
@ivanyoed 2 жыл бұрын
Amazing speaker, to be honest.
@merthyr1831
@merthyr1831 2 жыл бұрын
Just a request to Flutter team: can we get some Flutter plugin addition to auto-write copyWith methods? takes a long time to do it manually and could be easily automated!
@a7md0_
@a7md0_ 2 жыл бұрын
Freezed package does that, also support toJson & fromJson when combined with json_serializable
@Pedro5antos_
@Pedro5antos_ 2 жыл бұрын
Normally your IDE has plugins/extensions to do that and more
@timgo2345
@timgo2345 2 жыл бұрын
This will be very useful
@joaquinleimeter1816
@joaquinleimeter1816 Жыл бұрын
Where can I find some docs on what lerp (linear interpolation I guess) is in the context of flutter or material design or themes haha. Thanks!
@wolfgangschneider3743
@wolfgangschneider3743 2 жыл бұрын
😁 I was just watching Lord of the Rings the other day
@scottgreen3703
@scottgreen3703 2 жыл бұрын
0:29 i didn't understand what you said? Please keep this lessons normal talking and simple and clear as much as you can so everyone can understand 🙏
@richardjecooke8036
@richardjecooke8036 2 жыл бұрын
Yes. Please stop doing impressions. They just make your videos worse.
@fredgotpub871
@fredgotpub871 2 жыл бұрын
Does anybody understand "class MyClass extends ThemeExtension" with the nested class inside ? How can it work ?
@HungNguyen-pu1dv
@HungNguyen-pu1dv 2 жыл бұрын
It's quite similar to class AbcState extends State when you write stateful widget code
@craiglabenz9147
@craiglabenz9147 2 жыл бұрын
Trippy, I know.
@fredgotpub871
@fredgotpub871 2 жыл бұрын
@@HungNguyen-pu1dv you mean ThemeExtension is an abstract class and we override lerp+copyWith function and then we 're good to go ? Seems logical now, thanks.
@rakeshgowda762
@rakeshgowda762 2 жыл бұрын
Hi flutter team i m just wanted to know that is there hard code push or dynamic update the app without uploading to app/play store is available in flutter
@rivella99
@rivella99 2 жыл бұрын
Will there also be support for extending TextTheme?
@pierre-louisguidez2040
@pierre-louisguidez2040 2 жыл бұрын
You can put anything in extensions, colors, text styles, and text themes!
@aouadicharaf1038
@aouadicharaf1038 11 ай бұрын
❤❤❤
@scottgreen3703
@scottgreen3703 2 жыл бұрын
I didn't understand 😕 please go straight to the example and avoid all the unnecessary stories and funny reactions, go straight to the problem then show an example explain it and that's it, keep it professional please
@karthikmurakonda
@karthikmurakonda 2 жыл бұрын
Same opinion
@Hasan-wf7wb
@Hasan-wf7wb 2 жыл бұрын
Nice
@hyacinthenjimbong6310
@hyacinthenjimbong6310 2 жыл бұрын
Great
@_chappie_
@_chappie_ 2 жыл бұрын
I use Flutter Flex Scheme
@tanzeelrehman1513
@tanzeelrehman1513 2 жыл бұрын
When a human teach VS when a cartoon teach
@algeriennesaffaires7017
@algeriennesaffaires7017 Жыл бұрын
Why just not making a normal video without the un funny comedy
@NoJerry
@NoJerry 2 жыл бұрын
Funny eyes, exaggerated words, I don't like this host, I don't think he is a technical guy. Hope Emily be back
@larsien85
@larsien85 2 жыл бұрын
but it is more effective to understand. Everything has relative
MaterialStateProperties | Decoding Flutter
8:09
Flutter
Рет қаралды 37 М.
Synchronous BuildContexts | Decoding Flutter
6:15
Flutter
Рет қаралды 45 М.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 2 МЛН
Violet Beauregarde Doll🫐
00:58
PIRANKA
Рет қаралды 36 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
English or Spanish 🤣
00:16
GL Show
Рет қаралды 8 МЛН
When, why, and how to multithread in Flutter
15:10
Flutter
Рет қаралды 63 М.
Widgets vs helper methods | Decoding Flutter
6:33
Flutter
Рет қаралды 166 М.
Intrinsic widgets | Decoding Flutter
8:11
Flutter
Рет қаралды 47 М.
Async vs Isolates | Decoding Flutter
4:24
Flutter
Рет қаралды 124 М.
#Google Flutter - Theme Extensions
13:36
Mobile Programmer
Рет қаралды 3,1 М.
35 Flutter Tips That Will Change Your Life
10:53
Flutter Mapp
Рет қаралды 301 М.
Top 70 Flutter Tips, Widgets & Packages
16:22
Flutter Mapp
Рет қаралды 127 М.
А ВЫ УМЕЕТЕ ПЛАВАТЬ?? #shorts
00:21
Паша Осадчий
Рет қаралды 2 МЛН