Flutter - How To ALWAYS Know What Type A Widget Property Takes

Veröffentlicht am: 24 Mai 2021
auf dem Kanal: Flutter Mentor
1,953
122

How to ALWAYS know what to use on any property that a widget or class may have.

Have you ever run into a widget's property and just didn't know what that property took? As in, what widget or class.
Sometimes, in the beginning, we can be clueless about it.

There are just so many classes and widgets and properties... it's impossible to know them all.

Back when I was a full-on Flutter beginner, one of the things that caused me more frustration was when I wanted to use a certain property of a widget but I just had no idea what it was. Unless the type was the same as the class that the property took, then I would be clueless. And, back then, I just WISHED I could always know what class or widget to use in whatever property that I could run into.

Because I still remember what that frustration felt like, I decided to create this video.

In truth, it's not complicated at all once you figure it out. And that's exactly what this video is for. To make you figure it out! In less than 10 minutes, you'll learn how to always know what classes your widget's properties take.


Decoration Class: https://api.flutter.dev/flutter/paint...
FlutterLogoDecoration Class: https://api.flutter.dev/flutter/paint...
UnderlineTabIndicator Class: https://api.flutter.dev/flutter/mater...
ShapeDecoration Class: https://api.flutter.dev/flutter/paint...
ShapeBorder Class: https://api.flutter.dev/flutter/paint...
BoxBorder Class: https://api.flutter.dev/flutter/paint...
Border Class: https://api.flutter.dev/flutter/paint...

00:00 - Intro
01:09 - Container's "decoration" As An Example (Abstract Class)
02:52 - FlutterLogoDecoration (Enums)
06:52 - Shape Decoration (Abstract Class Within Abstract Class)
09:20 - Like & Subscribe
09:35 - Flutter Mentor Out

#flutter #widgetproperties #abstractclasses

Credits:

OUTRO SONG:
Mitsubachi by Smith The Mister https://smiththemister.bandcamp.com
Smith The Mister https://bit.ly/Smith-The-Mister-YT
Free Download / Stream: http://bit.ly/mitsubachi
Music promoted by Audio Library    • Mitsubachi – Smith The Mister (No Copyrigh...  


Auf dieser Seite können Sie das Online-Video Flutter - How To ALWAYS Know What Type A Widget Property Takes mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Flutter Mentor 24 Mai 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,953 Mal angesehen und es wurde von 122 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!