Beginning Flutter - Understanding and Refactoring the Widget Tree
by Marco Napoli youtube.com
6 min 10k views
In this 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 Subscribe: https://www.youtube.com/JediPixels?sub_confirmation=1 Twitter: https://twitter.com/JediPixels #flutter #appdevelopment #dart #appdevelopment
Made by
Available for hire
Marco Napoli is the CEO of Pixolini an experienced mobile, web and desktop app developer. He has a proven record in developing visually elegant and simple-to-us...
View Marco on Flutter ProApps by Marco Napoli
Fatima Prayers
The Five Fatima Prayers
Conyers - Our Loving Mother
On November 30, 1987, while Nancy was in silent prayer of the heart in her home, the Crucifix was illuminated in a bright whiter than white light. The image of the corpus was engulfed in light and became lifelike.
Nine Choirs of Angels
The Nine Choirs of Angels, are hierarchical orders or choirs of angels in heaven. These choirs are grouped into three spheres, each consisting of three choirs, based on their proximity to God and their assigned duties.
- Featured
TimeStamp Private Journal
Capture life’s moments with TimeStamp! Cherish connections by tracking everyone who shared your special times. Download now and make your memories unforgettable!
More like this
Video 32 minFlutter Advent Day 3 -- Refactoring to a separate view and view model!
Hey, coding enthusiasts! 👋 Welcome to the third installment of our mobile app development journey. Today, we're taking a calm and methodical approach as we dive into some crucial refactoring. In this...
Watch on YouTube
Article 16 min readImprove your Flutter app performance: split your widgets
[crayon-5d7f7e46dcd8b360787366-i/] … [crayon-5d7f7e46dcd95274185447-i/] … [crayon-5d7f7e46dcd99571885634-i/] … Once you code an app of medium complexity, it becomes very important to think about the p...
Read on cogitas.net