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-wj1xs8 ай бұрын
The big problem come when de design team use 10000 different colors and other 10000 types different of text styles XD
@heysuvajit8 ай бұрын
I hope figma gives options to export theme data in future 😊
@BooleanDev8 ай бұрын
you can use Theme extensions for those
@hvsciverius7 ай бұрын
fire them XD
@hafidzrahman3286 ай бұрын
That why u should define design system guidelines to keep the design consistent 😃
@Manuel-wj1xs6 ай бұрын
@@hafidzrahman328 That only could happened in a perfect world Xd
@fluttertyro8 ай бұрын
Global styling using theme makes work easier without repetition
@fernandocruz77158 ай бұрын
Very good information, thanks a lot...
@iam_alizaffar3 ай бұрын
So consisting and creative for working faster
@olteanumihai12458 ай бұрын
Theme extensions are the best part, a way to extend themes with custom objects.
@raranibar8 ай бұрын
thanks for this information
@يحيىالابيض-ت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ط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.
@SkillsVsDegree8 ай бұрын
I'm new to mobile apps. Which one is good? Flutter or react native?
@techplanet0015 ай бұрын
Flutter
@nestorsebastiangarzoncontr129525 күн бұрын
Flutter
@pravinpalkonda84478 ай бұрын
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?
@BooleanDev8 ай бұрын
try looking at how the material buttons do it and copy it
@brayantiwa8 ай бұрын
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....)?
@onwukadaniel33878 ай бұрын
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", ), .....
@brayantiwa8 ай бұрын
@@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" ?
@brayantiwa8 ай бұрын
@@onwukadaniel3387 thanks
@AmirGolmoradi3 ай бұрын
what is the name of that Vscode Theme ?
@kalkichangemaker5 ай бұрын
Hi Flutter team, I'm want to create a qr or barcode generator app in flutter, Is there any source or info ?
@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.
@gokhanserkan56165 ай бұрын
flutter's tree structure is very complex
@minseokjeong18818 ай бұрын
Anyone who use theme raise your hand. Anyone who doesn't use theme raise down your hand. I'M NOT USE THEME
@sadiksaroar70536 ай бұрын
Code source
@denisbogoslovskiy62085 ай бұрын
Lol im use this two years , nothing new
@JamesWright-e7w6 ай бұрын
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