Flutter - Understanding and Refactoring the Widget Tree
In this Flutter video, you are going to take a look at:
- The fundamentals of widgets
- How to use a full widget tree
- How to use a shallow widget tree
- Refactoring with a Constant
- Refactoring with a Method
- Refactoring with a Widget Class
The widget tree is how you create your UI; you position widgets within each other to build simple and complex layouts. Since just about everything in the Flutter framework is a widget, and as you start nesting them, the code can become harder to follow. A good practice is to try to keep the widget tree as shallow as possible. To understand the full effects of a deep tree, you’ll look at a full widget tree and then refactor it into a shallow widget tree, making the code more manageable. You’ll learn three ways to create a shallow widget tree by refactoring: with a constant, with a method, and with a widget class.
Looking for Updates:
https://JediPixels.dev
Beginning Flutter Book:
https://www.amazon.com/Beginning-Flutter-Hands-Guide-Development/dp/1119550823
Twitter:
https://twitter.com/JediPixels
-
5:46
JediPixels
4 years agoBeginning Flutter - Understanding and Refactoring the Widget Tree
1 -
8:22
JediPixels
2 years agoFlutter - Understanding the Widget Tree and Element Tree
11 -
6:43
trey_codes
1 year agoHow To Layer Multiple Child Widgets With The Stack Widget In Flutter - Flutter Widget Tutorial
32 -
34:51
Super Declarative!
3 years agoFlutter Text Scroller | Widget Workshop
8 -
39:39
Super Declarative!
3 years agoNest Protect Hero in Flutter | Widget Workshop
40 -
23:54
Super Declarative!
3 years agoEp. 005 - Simplify the Sketch constructor | Flutter Processing
36 -
54:44
Super Declarative!
3 years agoFlutter Circle Reveal Onboarding | Widget Workshop
32 -
2:39
trey_codes
1 year agoHow To Style Your Text Fields Using The Rich Text Widget In Flutter - Flutter Widget Tutorial
7 -
10:23
trey_codes
1 year agoHow To Create A List View Builder of NBA Teams In Flutter - Flutter Widget Tutorial
6 -
1:02:24
Super Declarative!
3 years agoFlutter Color Picker | Widget Workshop
58