Beginning Flutter - Understanding the Widget Tree and Element Tree

Sdílet
Vložit
  • čas přidán 13. 09. 2024
  • This video is an introduction to:
    - Understanding the Widget Tree and the Element Tree.
    - How the Flutter application itself is a widget.
    - Elements have a reference to the widget and are responsible for comparing the widget differences.
    - When you see the use of BuildContext objects, they are the Element objects.
    - There is a third tree called the render tree that is a low-level layout and painting system that inherits from the RenderObject. The RenderObject computes and implements the basic layout and paint protocols.
    - We'll take a look at the Stateless Widget and Element Tree.
    - The Stateful Widget and Element Tree.
    Looking for Updates:
    JediPixels.dev
    Beginning Flutter Book:
    www.amazon.com...
    Subscribe:
    / @jedipixels
    #flutter #dart #flutterdev #appdevelopment

Komentáře • 23

  • @ACHVPEAK
    @ACHVPEAK Před 2 lety +1

    I enjoy these videos. Short and easily digested by the mind. Great content!

  • @George-or3uv
    @George-or3uv Před 4 lety +1

    Very good. I'm currently reading a book regarding this topic. You've made it clear to me. I understand it much better now.

    • @JediPixels
      @JediPixels  Před 4 lety

      Thank you.

    • @affanamir1412
      @affanamir1412 Před 3 lety

      Mr George which book are you reading for flutter development is it by Marco L. Nipoli?

  • @omkarsutar5069
    @omkarsutar5069 Před 4 lety +2

    Hi Sir, you must be extra experienced guy, you explaining beyond design

    • @JediPixels
      @JediPixels  Před 4 lety +3

      I just love developing in Flutter, thanks.

  • @mrshang2930
    @mrshang2930 Před 4 lety +1

    it is clear to me thank sir

  • @affanamir1412
    @affanamir1412 Před 3 lety

    I am reading a book beginning flutter a hands on guide to App Development by Marco L. Nipoli and your talking the same thing just like the book because English is not my first language so its hard to understand everything from the book

  • @kengachokinjuguna1008
    @kengachokinjuguna1008 Před 3 lety +5

    anyone else lost as I am?

  • @MinhNguyen-hf5yh
    @MinhNguyen-hf5yh Před 4 lety

    Hi sir, thanks for the video. However, I understand that Widget is a Dart class, a blueprint, and an Element is an instance of this class, right?. So if I define a class WidgetCar then an object widgetCar = WidgetCar() is an Element?

    • @____-gy5mq
      @____-gy5mq Před 3 lety

      Can you stop saying "sir"? I know you wanna give respect and all, but "sir" sounds weird.

    • @marodonthemorone
      @marodonthemorone Před 2 lety

      Not really, the element is a separate entity which contains the reference of its configuration (widget)

  • @devanshkhare3532
    @devanshkhare3532 Před 4 lety

    What if the text widget gets replaced by an image widget ? Will there be a change in the Element Tree ?

    • @JediPixels
      @JediPixels  Před 4 lety +2

      Yes, there would be a change in the Element Tree. In the video at 08:00 it talks about the Element Tree remains the same since the Text widget is replaced by a Text widget.

    • @devanshkhare3532
      @devanshkhare3532 Před 4 lety

      @@JediPixels okay, Thanks :)

  • @someguy007
    @someguy007 Před 4 lety +3

    Hi sir thanks for the vid. However there is something in your explanation that makes it very hard to understand. I had the stop and run a single sentence many many times to process what you're saying. Maybe u used too much technical terms. Which I guess is absolutely okay, if your target audience is folks who are already very technical. Just thought Id point that out to you. Thanks,

  • @scarswell12
    @scarswell12 Před 3 lety +1

    None of this made sense. I did not follow the relationship between the widgets in elements in a practical sense

  • @anukools3
    @anukools3 Před rokem

    Informative but too much animation causing distraction to concept.