How to build a RenderObject - Flutter Build Show

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ต.ค. 2024
  • In this episode, go behind the scenes with RenderObjects and learn when, why, and how to write your own.
    Full source → goo.gle/3GU6ufj
    Catch more videos → goo.gle/Flutte...
    Subscribe to Flutter! → goo.gle/FlutterYT
    #FlutterBuildShow

ความคิดเห็น • 130

  • @flutterdev
    @flutterdev  ปีที่แล้ว +23

    Subscribe for the latest → goo.gle/FlutterYT

    • @muhammadyusoffjamaluddin
      @muhammadyusoffjamaluddin ปีที่แล้ว

      5:33
      ListenableBuilder??? Nothing I can see from the documentation
      I even got error it's not exist!
      I Google for the same name and there's only valueListenableBuilder class, what gives?
      Flutter 3.7.11, Stable Channel, Dart 2.19.6

    • @paulmuchwat4869
      @paulmuchwat4869 ปีที่แล้ว +1

      @@muhammadyusoffjamaluddin The ListenableBuilder is available in beta channel 3.10.0-1.1.pre, but you can replace ListenableBuilder with AnimatedBuilder, it will still work the same.

    • @yousef.a.k3793
      @yousef.a.k3793 ปีที่แล้ว

      Thanks for a great show, and please add Arabic subtitle

  • @ShawnMilo
    @ShawnMilo ปีที่แล้ว +14

    I rarely comment on videos, but I have to do so here. This is the **best** presentation I've ever seen for a video about code. No fumbling to type live, full code is provided in the description, everything is explained clearly, and most of the screen time (and pixels) go to the code editor. More, please!

  • @filiphracek
    @filiphracek ปีที่แล้ว +9

    Fantastic! You just casually solved a problem I had by pointing me in the right direction. And, best of all, I was able to learn this while eating schnitzel.
    Looking forward to more episodes!

  • @venir_dev
    @venir_dev ปีที่แล้ว +21

    Things are finally getting spicy! We needed non-trivial content since a long time, and Craig simply ROCKS it: thank you! And thank you, Flutter team!

  • @BrutalCoding
    @BrutalCoding ปีที่แล้ว +18

    Presentation skills on point 👌. Seriously!
    I’d like to see a video or article someday of what’s involved into breaking down a complex topic into an easy to follow format.

  • @dovas90
    @dovas90 ปีที่แล้ว +16

    Ooohhhh this is gonna be a masterclass series ! Glad for your time preparing this

  • @theflutterboi
    @theflutterboi ปีที่แล้ว +58

    Great explanation. I have one doubt. Who is mark and why he needs layout, paint ..etc!!

  • @philosophia5577
    @philosophia5577 ปีที่แล้ว

    Resizing widgets as the child inside it grows is a problem I was facing from last 3-4 hours and this video solved it. Great one!!!

  • @calvinvanwieringen2459
    @calvinvanwieringen2459 ปีที่แล้ว +1

    You have no idea how long I have been looking that that exact scenario for the timestamp, and just as you said landed on a postframecallback solution. But it did cause frame issues. So grateful for this video.

    • @laybunzz
      @laybunzz ปีที่แล้ว

      Go forth and Flutter 💙

  • @martinmj94
    @martinmj94 ปีที่แล้ว +2

    Wonderful start to the FlutterBuildShow! Already looking forward to the upcoming episodes.

  • @АндрейКлок-о7ж
    @АндрейКлок-о7ж ปีที่แล้ว +23

    It would be great to see a similar video only for RenderSliver. It would also be interesting to see a detailed analysis of the functions of the Element class and its subclasses.
    Also, the topic of Bindings (SchedulerBinding, WidgetBinding and etc.) is poorly covered in the network

  • @mephistotel87
    @mephistotel87 9 หลายเดือนก่อน

    It is 14th day I started using and learning Flutter at all! These tutorials help greatly! Amazing content! We need more!

  • @mostafijulislam8776
    @mostafijulislam8776 ปีที่แล้ว +3

    This is amazing!! 💙💙💙💙💙 Thank you! And just a curious idea for the future shows: A circular list widget. Like a column that connected it's both end and turned itself into a circle. Or maybe a listView, that did the same thing. Sounds fun to me 😊

  • @pengain4
    @pengain4 8 หลายเดือนก่อน +1

    Flutter team is doing so good job for community and education. ❤

  • @TheJeroenweener
    @TheJeroenweener ปีที่แล้ว +3

    Props for explaining this topic so well!

  • @mtho1850
    @mtho1850 ปีที่แล้ว +2

    Amazing stuff. Thank you. If possible, could you do separate episodes for each of the different parent RenderObjects?

  • @dj.yacine
    @dj.yacine ปีที่แล้ว +3

    This is the power of Flutter 👌

  • @ShawnBlais
    @ShawnBlais ปีที่แล้ว

    Awesome to see some more technical talks from the Flutter Team! More of this please!

  • @ItsRichardShank
    @ItsRichardShank 10 หลายเดือนก่อน

    I didn't even know I could do that and this is exactly what I needed. Good work folks!

  • @TylerHolland
    @TylerHolland ปีที่แล้ว

    Super helpful! Would love to see a very similar video with a MultiChildRenderObjectWidget to understand the best practices around laying out the child widgets.

  • @wembleyleach
    @wembleyleach ปีที่แล้ว

    Wow, amazing first video! I'm looking forward to the rest of the series. This is going to be a great reference for me later on.

  • @rohantaneja
    @rohantaneja ปีที่แล้ว

    Well explained Craig! Looking forward to the rest of the series 🎉

  • @algeriennesaffaires7017
    @algeriennesaffaires7017 ปีที่แล้ว

    One of your best presentations more professional 👏, thank you

  • @hariihaaran
    @hariihaaran ปีที่แล้ว

    It's amazing this could be Developer series

  • @Gigameth
    @Gigameth ปีที่แล้ว +2

    That was really nice explanation.

  • @aytunch
    @aytunch ปีที่แล้ว

    Great series and video. Next you can do something involving Overlays. Like a widget which renders on top of the current UI and can overflow its original size but gets positioned smartly so it doesn't extend the screen boundaries. Other widgets can react to this widgets expansion/contraction.

  • @JustinMylo
    @JustinMylo ปีที่แล้ว

    FEEDBACK:
    Show an informative, animated diagram of any widget you're building (with variable names for each attribute of the widget, i.e. sizeOfMessage variable shows what is actually the size of what in the diagram) beside the video. For example, it's getting a bit hard to understand starting from the part you introduced a lot of variables.
    Anyways, I learnt a lot from this video and I'm looking forward to watch the next one!

  • @chordfunc3072
    @chordfunc3072 ปีที่แล้ว

    Fantastic, cant wait for more episodes 🙌

  • @gabrieluca
    @gabrieluca ปีที่แล้ว

    A case with RenderSliver would be great!

  • @pavsoor
    @pavsoor 10 หลายเดือนก่อน

    This is super interesting! The only thing I could perhaps benefit from more is a little more depth in other ways this could be done and the flaws of doing so.

  • @anassb
    @anassb ปีที่แล้ว +1

    I really enjoyed this tutorial video 👍 because it explains new topic ideas. For future videos, I would love to see more about best practices in Flutter and the errors we need to avoid🤞. These are things that many developers miss. Overall, I found the video to be very helpful.🎉

  • @sgruhier
    @sgruhier ปีที่แล้ว

    So useful and well explained! love it and I'm exciting for the next one

  • @csmanul
    @csmanul 8 หลายเดือนก่อน

    very well explained, good job.

  • @AnonymousAnonymous-nr8su
    @AnonymousAnonymous-nr8su ปีที่แล้ว

    Thank you for this video, Flutter team!

  • @nurola
    @nurola ปีที่แล้ว

    Thank you guys. It came just in time. :)

  • @MarcusTwichel
    @MarcusTwichel ปีที่แล้ว

    Amazing video Craig! Thanks for sharing!

  • @chordfunc3072
    @chordfunc3072 ปีที่แล้ว

    Feedback:
    It would be nice if you added Sticky Scroll to your vscode config so that we could always see which class you where editing.
    For example here: 10:33, I have no idea.
    Its not obvious when you are learning some new concepts where thing goes

  • @verticrow
    @verticrow ปีที่แล้ว

    🔥Awesome🔥
    Thanks and really excited for this new series!

  • @haotianyang740
    @haotianyang740 2 หลายเดือนก่อน

    THIS commentator looks like he came out right of the Bully game and nailed the explanation no one else can possibly do 😂

  • @egycoder835
    @egycoder835 ปีที่แล้ว

    Thanks, and really excited for this new series!

  • @banabadhj
    @banabadhj 25 วันที่ผ่านมา

    Благодаря вашим советам, я чувствую себя готовым к арбитражу. Спасибо!

  • @heaven7pro
    @heaven7pro 9 หลายเดือนก่อน

    Awesome format!

  • @renanzumas4422
    @renanzumas4422 ปีที่แล้ว

    Its a presentation really amazing!!!

  • @franmaric
    @franmaric ปีที่แล้ว

    Great video! Love the Flutter details!

  • @parthrupareliya625
    @parthrupareliya625 ปีที่แล้ว

    seems like epic series coming in!

  • @alexmercerind
    @alexmercerind 11 หลายเดือนก่อน

    This is DEEP. AWESOME.

  • @SecondFlight
    @SecondFlight ปีที่แล้ว +1

    Could this also be a way to squeeze out performance in a highly-custom layout scenario? It seems like this could allow you to granularly skip updating a render object in cases where you wouldn't be able to otherwise.

  • @olasheniolasheni9015
    @olasheniolasheni9015 ปีที่แล้ว

    It's a really nice tutorial, I enjoyed it.

  • @prince-sonawane
    @prince-sonawane ปีที่แล้ว

    Here we go for the glory !

  • @shredder2794
    @shredder2794 ปีที่แล้ว

    This is super helpful. Thanks!

  • @craune6616
    @craune6616 ปีที่แล้ว

    gawdamn you're good at explaining! thx for the info

  • @ahmedmohamed1340
    @ahmedmohamed1340 ปีที่แล้ว

    amazing series thanks for the clarifications

  • @chordfunc3072
    @chordfunc3072 ปีที่แล้ว

    Is ListenableBuilder now a part of the flutter framework? If not I guess just use a animated builder to the same effect.

  • @dilshan3372
    @dilshan3372 ปีที่แล้ว

    Great Explanation.👌

  • @Nomadjackalope
    @Nomadjackalope หลายเดือนก่อน

    Thank you so much!!

  • @tusharpadhy1991
    @tusharpadhy1991 ปีที่แล้ว +2

    How about a vid on calling out platform specific channels etc

  • @Євгеній-о3э
    @Євгеній-о3э ปีที่แล้ว

    Love this! Thank you🤩

  • @chaitanyadamarsingu9925
    @chaitanyadamarsingu9925 ปีที่แล้ว +1

    Expecting Something about FLUTTER💙 WEB performance improvement ..
    A live comparison of any JS framework vs Flutter WEB

  • @brunopinto2447
    @brunopinto2447 ปีที่แล้ว

    Please, talk about how to implement custom Slivers and other Scrollables

  • @hardikkumbhani
    @hardikkumbhani ปีที่แล้ว

    Great explanation brother, keep it up

  • @jascodes
    @jascodes ปีที่แล้ว

    For future episodes how about custom slivers?

  • @prince-sonawane
    @prince-sonawane ปีที่แล้ว

    Layout builder for building vs code like app maybe where we can drag and drop widgets in the layout of our liking and also resize them as per our requirement. this can be a great topic as we can do it on all the platforms. and many may be in search of the same.

  • @abanoubha
    @abanoubha ปีที่แล้ว

    what is your recommended home screen widget plugin ?

  • @evanhossain1618
    @evanhossain1618 ปีที่แล้ว

    owo 🙄🙄🙄 so much knowledge !! but loved it❤❤.. Please bring someting more complex ui like this🤔🤔

  • @tadaspetra
    @tadaspetra ปีที่แล้ว +4

    Craig is rivaling Filip for who is the best at explaining complex topics

    • @laybunzz
      @laybunzz ปีที่แล้ว +5

      Filip remains unrivaled!

    • @tadaspetra
      @tadaspetra ปีที่แล้ว +3

      @@laybunzz haha but for real this was a really good explanation. Great job and excited for more from this series

    • @BrutalCoding
      @BrutalCoding ปีที่แล้ว +1

      Hahaha I like Craig’s energy.
      What I also appreciate is that he’s often acting like he doesn’t know some trivial topics, which in turn helps with making these explainers less intimidating👌

  • @Razalibgdekli
    @Razalibgdekli ปีที่แล้ว

    Thank you very much for all the explanations that you have presented even though you don't want to mention the name of a developer friend who is foreign to other people, Greetings dear to all application developers What makes Tech in Apps ❤❤❤❤

  • @imujtaba8488
    @imujtaba8488 ปีที่แล้ว

    Amazing. Love it!

  • @ykorshev
    @ykorshev ปีที่แล้ว +1

    Also, we need more examples about integration with machine learning.

  • @iyinusa
    @iyinusa ปีที่แล้ว

    Awesome guys!

  • @noninvasive_rectal_probe8990
    @noninvasive_rectal_probe8990 ปีที่แล้ว

    Cool, could you explain how coordinate systems work in flutter?

  • @yehorh
    @yehorh ปีที่แล้ว

    Wow 🤩! It was great!

  • @khalsatech1313
    @khalsatech1313 10 หลายเดือนก่อน

    its an owsome video i for flutter , thaks a lot for this

  • @ykorshev
    @ykorshev ปีที่แล้ว

    Nice. Very helpful.

  • @jishnulal-d8x
    @jishnulal-d8x 6 หลายเดือนก่อน

    this can be done by statefull widget and updating the text using setstate but what is the draw back and benefits of using this way

  • @banglafactsteller6780
    @banglafactsteller6780 ปีที่แล้ว

    great . waiting for next

  • @tutorial3473
    @tutorial3473 ปีที่แล้ว +1

    Would love to have bit longer and more indepth code explanation

  • @nidalbakir4720
    @nidalbakir4720 ปีที่แล้ว

    Thanks

  • @noninvasive_rectal_probe8990
    @noninvasive_rectal_probe8990 ปีที่แล้ว

    Would be great to see you implement clone of vscode or such❤

  • @joelks
    @joelks ปีที่แล้ว +1

    can you provide reusble code for a toggle button to toggle dark mode with shared preference

    • @ajayantony7342
      @ajayantony7342 ปีที่แล้ว

      in my code there's a flicker when the app tries to read from shared prefs

  • @douglasvalerio8880
    @douglasvalerio8880 ปีที่แล้ว

    Awesome content

  • @victorhenzzo1972
    @victorhenzzo1972 ปีที่แล้ว

    Amazing!

  • @WouterStudioHD
    @WouterStudioHD ปีที่แล้ว

    This is great!

  • @mikeshin77
    @mikeshin77 ปีที่แล้ว

    Great!

  • @bmetallaoui
    @bmetallaoui ปีที่แล้ว

    This was a great video. I learned so much more about building my own custom widgets and how to make my current ones better in the future

  • @pikig4393
    @pikig4393 ปีที่แล้ว

    Nice title btw

  • @Ashishlahre
    @Ashishlahre ปีที่แล้ว

    I just need to be this fast on my next interview.

  • @emmanuelekpar
    @emmanuelekpar ปีที่แล้ว

    Make a video about services.

  • @amcoderipper4116
    @amcoderipper4116 3 หลายเดือนก่อน

    مذهل !

  • @fritzjimenez9109
    @fritzjimenez9109 ปีที่แล้ว

    Good one tbh! :D

  • @morekaccino
    @morekaccino ปีที่แล้ว

    love it

  • @МаксимАбрамов-п2к
    @МаксимАбрамов-п2к ปีที่แล้ว

    🔥

  • @ingegodemin9263
    @ingegodemin9263 ปีที่แล้ว

    SUPER !

  • @this_is_mac
    @this_is_mac ปีที่แล้ว

    A lot of the code looks like boilerplate. Can't we generate these with code generation packages like freezed?

  • @dennisbarzanoff9025
    @dennisbarzanoff9025 7 หลายเดือนก่อน

    "This fully commented code is available below"
    Code: Not a single comment
    LMAO

  • @jsfhzlrvr
    @jsfhzlrvr ปีที่แล้ว

    Super!

  • @sherpa-e5i
    @sherpa-e5i ปีที่แล้ว

    What VSCode theme is that?

  • @adonissantos2925
    @adonissantos2925 ปีที่แล้ว

    How know the height of a widget before it's build and set same height to other widgets?

    • @laybunzz
      @laybunzz ปีที่แล้ว +2

      Write your own RenderObject!

  • @emanuelfonseca6371
    @emanuelfonseca6371 ปีที่แล้ว

    when I download the project and try to run it. it says ListenableBuilder doesn't exist? anyone?

  • @yadhusanil7077
    @yadhusanil7077 ปีที่แล้ว

  • @GODevDive
    @GODevDive ปีที่แล้ว +1

    This is too much for my head... need to watch again n fellow along with the code