Skip to content
Videos
Video

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

Marco Napoli @marconapoli 🇺🇸 United States

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 Pro
Forum

Questions about this, or something to add?

Discuss on the forum
It's All Widgets

Apps by Marco Napoli

  • Fatima Prayers screenshot

    Fatima Prayers

    The Five Fatima Prayers

    Lifestyle 5.0
  • Conyers - Our Loving Mother screenshot

    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.

    Lifestyle 4.4
  • Nine Choirs of Angels screenshot

    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.

    Books & Reference 4.2
  • TimeStamp Private Journal screenshot
    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!

    Lifestyle 5.0

Report this · Wrote this? Claim it

Supported by