How to use Themes in

  Рет қаралды 33,616

Flutter

Flutter

Күн бұрын

Use Themes to create a consistent look and feel across your Material App in Flutter.
Watch more Flutter Shorts → goo.gle/Flutte...
#Flutter
Speaker: Khanh Nguyen
Products Mentioned: Flutter

Пікірлер: 34
@Manuel-wj1xs
@Manuel-wj1xs 8 ай бұрын
The big problem come when de design team use 10000 different colors and other 10000 types different of text styles XD
@heysuvajit
@heysuvajit 8 ай бұрын
I hope figma gives options to export theme data in future 😊
@BooleanDev
@BooleanDev 8 ай бұрын
you can use Theme extensions for those
@hvsciverius
@hvsciverius 7 ай бұрын
fire them XD
@hafidzrahman328
@hafidzrahman328 6 ай бұрын
That why u should define design system guidelines to keep the design consistent 😃
@Manuel-wj1xs
@Manuel-wj1xs 6 ай бұрын
@@hafidzrahman328 That only could happened in a perfect world Xd
@fluttertyro
@fluttertyro 8 ай бұрын
Global styling using theme makes work easier without repetition
@fernandocruz7715
@fernandocruz7715 8 ай бұрын
Very good information, thanks a lot...
@iam_alizaffar
@iam_alizaffar 3 ай бұрын
So consisting and creative for working faster
@olteanumihai1245
@olteanumihai1245 8 ай бұрын
Theme extensions are the best part, a way to extend themes with custom objects.
@raranibar
@raranibar 8 ай бұрын
thanks for this information
@يحيىالابيض-ت1ط
@يحيىالابيض-ت1ط 8 ай бұрын
I've been using Theme.of(context) all the time til I stumbled on a terrible bug. The widget in which I was using Theme.of(context) had a future builder with a request to my backend and kept rebuilding more than 10 times in milliseconds flooding the server with requests! I stopped using it since then
@يحيىالابيض-ت1ط
@يحيىالابيض-ت1ط 3 ай бұрын
@@TekExplorer I did realize that, but if one line of code used to set the color of something makes my screen rebuild over 10 times in one second for no reason, that's a big problem that may cause even more problems.
@SkillsVsDegree
@SkillsVsDegree 8 ай бұрын
I'm new to mobile apps. Which one is good? Flutter or react native?
@techplanet001
@techplanet001 5 ай бұрын
Flutter
@nestorsebastiangarzoncontr1295
@nestorsebastiangarzoncontr1295 25 күн бұрын
Flutter
@pravinpalkonda8447
@pravinpalkonda8447 8 ай бұрын
How to set the border colour for container as per material state property? Like hovered, pressed, select etc . How we can get material state property of any widget?
@BooleanDev
@BooleanDev 8 ай бұрын
try looking at how the material buttons do it and copy it
@brayantiwa
@brayantiwa 8 ай бұрын
Is there a way to specify a fontFamily for big characters (big size) and another for the default size ? Without defining all the parameters of texTheme(bodyMedium/Large/Small, head....)?
@onwukadaniel3387
@onwukadaniel3387 8 ай бұрын
Yes inside your text theme, like this: titleLarge: TextStyle( color: Colors.black, fontSize: 30, fontFamily: "Inter", ), titleMedium: TextStyle( color: Colors.black, fontSize: 20, fontFamily: "OpenSans", ), .....
@brayantiwa
@brayantiwa 8 ай бұрын
@@onwukadaniel3387 So from titleLarge to the bigger the font will be "Inter", and the other(title medium to the smaller one) will be "Open sans" ?
@brayantiwa
@brayantiwa 8 ай бұрын
@@onwukadaniel3387 thanks
@AmirGolmoradi
@AmirGolmoradi 3 ай бұрын
what is the name of that Vscode Theme ?
@kalkichangemaker
@kalkichangemaker 5 ай бұрын
Hi Flutter team, I'm want to create a qr or barcode generator app in flutter, Is there any source or info ?
@AnythingGodamnit
@AnythingGodamnit Ай бұрын
Others have alluded to this, but the big problem with Flutter themes is that they are generalized to material design and almost certainly won't correlate with anything you get from a designer, nor will they have the desired semantics. A good designer will provide a strict set of colors, fonts, spacings, etc that are then used consistently to build up other components. This leaves the developer needing to do a bunch of jumping around figuring out how the design translates into Flutter's style objects. I've found it's actually easiest to completely ignore Flutter's theme support and define my own (using inherited widget), along with theme widgets that consume that data. That way when writing a feature I take the Figma design, see that it has a certain type of button, and it maps directly onto an already defined widget in my code base. Much easier.
@gokhanserkan5616
@gokhanserkan5616 5 ай бұрын
flutter's tree structure is very complex
@minseokjeong1881
@minseokjeong1881 8 ай бұрын
Anyone who use theme raise your hand. Anyone who doesn't use theme raise down your hand. I'M NOT USE THEME
@sadiksaroar7053
@sadiksaroar7053 6 ай бұрын
Code source
@denisbogoslovskiy6208
@denisbogoslovskiy6208 5 ай бұрын
Lol im use this two years , nothing new
@JamesWright-e7w
@JamesWright-e7w 6 ай бұрын
I Can do that with out having to do that I just need another person phone and my phone and my email my account T-Mobile account and I would like to be a big deal
@eKizify
@eKizify 8 ай бұрын
This is mostly useful for a material app 😅
@tibrec8
@tibrec8 Ай бұрын
For Cupertino is useless
@hantonrech
@hantonrech 7 ай бұрын
Flutter = no job oportunities
@abrorbobomurodov2361
@abrorbobomurodov2361 4 ай бұрын
In your dream
Урок 47: "Основы Flutter - контекст(BuildContext)
1:10:08
LazyLoad Dart & Flutter
Рет қаралды 13 М.
Build with Google AI Dart SDK in #Flutter
0:55
Flutter
Рет қаралды 34 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 48 МЛН
Life hack 😂 Watermelon magic box! #shorts by Leisi Crazy
00:17
Leisi Crazy
Рет қаралды 80 МЛН
10x Your Speed With Flutter
8:04
Flutter Mapp
Рет қаралды 59 М.
No Code App Development is a Trap
9:31
Coding with Dee
Рет қаралды 277 М.
This UI component library is mind-blowing
8:23
Beyond Fireship
Рет қаралды 695 М.
JWT авторизация. Основы JWT - механизма.
6:45
Хочу вАйти
Рет қаралды 12 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 563 М.
BLoC for Beginners 📱 State Management • Flutter Tutorial
8:44
ThemeExtensions | Decoding Flutter
6:13
Flutter
Рет қаралды 57 М.
🏀📱 NBA App • Data from API • Flutter Tutorial ♥
7:31
Why Agent Frameworks Will Fail (and what to use instead)
19:21
Dave Ebbelaar
Рет қаралды 75 М.
Миллионер | 2 - серия
16:04
Million Show
Рет қаралды 1,6 МЛН