ShrinkWrap vs Slivers | Decoding Flutter

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2021
  • Learn about nested lists in Flutter, how the shrinkWrap parameter works, and why sometimes Slivers are the best tool for the job.
    See the differences in action on DartPad → goo.gle/3oCRRTt
    Get started with Flutter → goo.gle/Flutter
    Learn more about the Dart Language → goo.gle/2YF9OCi
    Watch more Decoding Flutter episodes → goo.gle/DecodingFlutter
    Don’t miss an episode, subscribe to Flutter → goo.gle/FlutterYT
    #DecodingFlutter #Flutter #Developer
    product: Flutter - Development - User interface; fullname: Craig Labenz;
  • НаукаНаука

Комментарии • 101

  • @lucavenir5308
    @lucavenir5308 2 года назад +154

    This team is just unbelievably good.

  • @sopheaktraphim9146
    @sopheaktraphim9146 2 года назад +115

    We need more "What the flutter" content because what he said in here, took me 10 hours to find the solution when I first learn about flutter

  • @Baraka0369
    @Baraka0369 2 года назад +43

    Omg, was just experiencing this behavior and u came out of no where to deliver me the solution just in time !
    Thank you so much !

  • @Vilmir
    @Vilmir 2 года назад +17

    Flutter is starting to really rock, and the speakers on the channel are great in their roles. Long life to the platform!

  • @kamalb
    @kamalb 2 года назад +11

    Equally impressive as this video is the DartPad link attached. Seeing this in action should make the lesson last.

    • @laybunzz
      @laybunzz 2 года назад +3

      I'll put you down as voting for more DartPad links! ;)

  • @Master-O-None
    @Master-O-None 2 года назад +7

    Great video! I enjoy this type of short but extremely informative video ❤️

  • @My1CrJourney
    @My1CrJourney 2 года назад +7

    I have to use shrinkWrap a lot. Wouldn't have known about the performance issue if not for this video. Thanks a lot!!
    And yeah, flutter rocks!!! And so does the flutter team!!!

  • @gameplaystrailers7797
    @gameplaystrailers7797 2 года назад +5

    I really like Craig explaining he has a clear voice and knowledge

    • @laybunzz
      @laybunzz 2 года назад +2

      aww shucks!

  • @DZLier
    @DZLier 2 года назад +7

    Thank you for declawing SliverDelegates a little bit, I have indeed found them very intimidating.

  • @fredriksmedberg421
    @fredriksmedberg421 Год назад

    Very good video with pedagogic explanations and animations. Thank you!

  • @GhostNikki
    @GhostNikki 2 года назад +2

    this was the major issue I was facing. Thank you flutter 😎.

  • @DeleMike7
    @DeleMike7 2 года назад +2

    I've been having issues with this thing. Thanks Flutter!

  • @ivan_0590
    @ivan_0590 2 месяца назад +1

    Flutter documentation is just insanely good

  • @burakcankurtarr2751
    @burakcankurtarr2751 Год назад +2

    This video is sooo helpful dude. Ty so much.

  • @listendream2792
    @listendream2792 Год назад +6

    Well, I just did the Shrink Wrap 'true' today. Thanks for this awesome video. Thank you Flutter Team !

    • @flutterdev
      @flutterdev  Год назад +2

      Thanks for the kind words, Htun! Be sure to subscribe to stay updated on the latest with Flutter: goo.gle/FlutterYT 😎

  • @fabiolucasdev
    @fabiolucasdev 2 года назад +2

    This solution solve the complex FireBase data structure. I was forced to implement multiples listview to nagivate throught the entire tree of database until reach the end, and them, in the last listview, the data that i need was render. And now lets test this solution. Thanks Flutter Team! :)

  • @elquenoaplica3975
    @elquenoaplica3975 2 года назад +2

    Excellent explanation
    Thanks

  • @Liv_Life
    @Liv_Life 2 года назад +9

    Thanks flutter team for elaborate ListView. We Should take care of delegates

  • @roybryandavidfranckmarisca883
    @roybryandavidfranckmarisca883 7 месяцев назад

    Estos videos son muy utiles, imposible explicarlo mas facil y sencillo, muchas gracias!!!

  • @onedreamer
    @onedreamer 2 года назад +2

    This video is a gem! Indeed! 🔥

  • @davidagyakwa288
    @davidagyakwa288 2 года назад +1

    Thank you so much .... flutter should show more error explanations like this

  • @incals
    @incals 2 года назад +2

    Much needed video. 🔥🙏🙏

  • @rizalhadiyansah
    @rizalhadiyansah 2 года назад +6

    I like this guy 🤣... Keep it up, this is incredible! 🔥

  • @anatolys9203
    @anatolys9203 2 года назад +3

    Super! Thank you very much!

  • @Pedro5antos_
    @Pedro5antos_ 2 года назад +1

    Great explanation as always!
    I was having this problem today HAHAHA

  • @user-ie4dq4tj3w
    @user-ie4dq4tj3w 9 месяцев назад +1

    Crucial information👍

  • @rnd172
    @rnd172 2 года назад +1

    thank for explanation!

  • @maharta8458
    @maharta8458 2 года назад +1

    Thank you for this

  • @akashsrivastava7037
    @akashsrivastava7037 Год назад +3

    Flutter RUclips channel is great ❤️

    • @flutterdev
      @flutterdev  Год назад +1

      Thank you for the love, Akash ❤️

  • @waminthammanusati4978
    @waminthammanusati4978 Год назад +3

    Thank you very much. This is very helpful.

    • @flutterdev
      @flutterdev  Год назад +1

      We're happy that we were able to wrap all this information into a wonderful video for our Flutter community 😊

  • @MoAdel92
    @MoAdel92 2 года назад +2

    is this also applied in case of listview inside singlechildscrollview?

  • @viacheslavsomin2542
    @viacheslavsomin2542 2 года назад

    Outstanding!

  • @blablablabla29382
    @blablablabla29382 2 года назад

    Thank you !

  • @raghav042
    @raghav042 2 года назад

    Thanks to flutter team

  • @shahidwani6445
    @shahidwani6445 2 года назад

    Hello sir,
    I have a future builder inside which I have listview builder
    Then I use inline banner inside LVB.
    The problem is when I scroll down below the banner ad then scrolling up again the ad reloads 🙏
    How to stop it

  • @salaheddine6556
    @salaheddine6556 2 года назад

    Should we do the same when It's SingleChildScrollView > ListView ?

  • @takudzwamakusha5941
    @takudzwamakusha5941 2 года назад

    thank you

  • @Geek-jx3gw
    @Geek-jx3gw Год назад

    wanna know if this goes also for gridview builder ?

  • @ataberkkoroglu8095
    @ataberkkoroglu8095 Год назад

    Inner lists are rendered over scrolling. But every outerlist is built with it's only inner list's first item even if it's not scrolled. But what if I have abnormal amount of outer list? I can't find any solution for this problem.

  • @tanujkarteekallena3917
    @tanujkarteekallena3917 Год назад

    did custom scroll view changed?
    cause i still have to use shrink wrap

  • @jeromearenas8028
    @jeromearenas8028 2 года назад +4

    WTF - What the flutter
    😂
    PS: I want more content focus on slivers, especially on scrolling animations.

    • @GhostNikki
      @GhostNikki 2 года назад

      We should make. WTF as trend 😅😅😅.

  • @irjayjay
    @irjayjay Год назад

    Maybe I'm just dumb, but if you already have outerListChildren defined as a list of SliverLists and so also _myWidgets as a predefined list of Widgets, then they're already created without any builders. The SliverChildBuilderDelegate is only returning the ready created widgets from the _myWidgets list.
    What am I missing here? It seems every possible list item has already been created, so this isn't any better than shrinkwrap?

  • @AriadyPutra
    @AriadyPutra Год назад

    how is this compared to Columns wrapped with SingleChildScrollView?

  • @rcjuancarlosuwu
    @rcjuancarlosuwu 2 года назад

    awesome

  • @Gabeyre
    @Gabeyre 2 года назад

    Are http links still safe? The desc has both http and https links.

  • @darul-asar381
    @darul-asar381 2 года назад +1

    👍👍👍 thanks

  • @vtrdesign
    @vtrdesign 2 года назад +1

    CustomScrollView expects 'slivers: []' parameter not 'children: []', great work guys!

    • @hc-ec6bm
      @hc-ec6bm 2 года назад

      Yes. What did you do?

  • @kanishqsarkar1153
    @kanishqsarkar1153 2 года назад

    WHoa, this changes the whole world for me.

  • @xangultimate7991
    @xangultimate7991 2 года назад

    Nice

  • @cromuelbarut9859
    @cromuelbarut9859 3 дня назад

    noted on this

  • @xinyuwang7837
    @xinyuwang7837 Год назад +1

    So why customscrollview and sliverlist could solve the performer problem ?

  • @sauravgupta6166
    @sauravgupta6166 2 года назад

    and what if I've something more other than inner list inside the outerlist ? can anyone pls help

  • @coconutjohnny6530
    @coconutjohnny6530 2 года назад +1

    Edit: in the new version of Flutter the 'children' parameter in the CustomScrollView has changed to 'slivers'

  • @Hitogiri
    @Hitogiri Год назад

    u might have saved my life there

  • @robertmrobo8954
    @robertmrobo8954 2 года назад +1

    Now update the Flutter SDK to point to this video when this error occurs in our IDEs. ☺️❤️

  • @benjaminli21
    @benjaminli21 2 года назад

    This is why I hate Flutter. It's so good that I feel so uncomfortable and boring when using another kind of technology... Ahhhh!!!! The best framework ever!!!!!!!!! Love you guys for making all these awesome videos!!!!!!

  • @mhmzdev
    @mhmzdev 2 года назад +3

    Why you need some other tutorials or course when you have the creators teaching you the tech

  • @salaheddine6556
    @salaheddine6556 2 года назад

    Perfect but if u can add some captions to these videos that will be great

  • @wmxpy5272
    @wmxpy5272 2 года назад

    0 unlike, in youtube. GJ flutter team

  • @waelm.elsaid295
    @waelm.elsaid295 Год назад

    what about listview inside Pageview ?!

  • @unnom7991
    @unnom7991 2 года назад

    Please help me! I don't know if is a french Channel who gives also update like this one because i'm french and i don't understand very well the video, so tag the Channel if you know

  • @muhammadyusoffjamaluddin
    @muhammadyusoffjamaluddin Год назад

    Can this guy host "What the Flutter??!!!" series? For Beginners? PLEASEEEEE

  • @maheshjamdade1
    @maheshjamdade1 2 года назад +1

    What the flutter 😂 This makes a nice meme

  • @moulikgupta6979
    @moulikgupta6979 Год назад +1

    that dartpad ain't working!!!! Please fix it I need to have a look at it!!!!

  • @TheEkkas
    @TheEkkas Год назад

    Sliverlist inside a SliverList ok?
    I.o.w what if you need to nest 2 levels deep?

  • @Aspiiire
    @Aspiiire 2 года назад +1

    What? Basically I have made the same video about the same topic unintentionally, I haven't copied it :( btw this video was useful

  • @rahul_spawar
    @rahul_spawar 2 года назад +1

    I want someone to explain recyclerview to me like this

  • @hackerwhite7957
    @hackerwhite7957 11 месяцев назад

    i was asking this to chat gpt he also guide me the same thanks man woo

  • @Chriscs7
    @Chriscs7 Месяц назад

    And why does the slivers work without performance issue ? You did not explain that

  • @Leona_tf
    @Leona_tf 2 года назад

    If they don't name their common issue fix or performance troubleshooting "What The Flutter", Imma riot

  • @inkeyy3419
    @inkeyy3419 5 месяцев назад

    Dart pad link is dead

  • @aminesinami8176
    @aminesinami8176 2 года назад +3

    Flutter

  • @dertbom
    @dertbom 2 года назад +1

    Well sliver me timbers!

  • @やぬし
    @やぬし 2 года назад

    What the Flutter!?

  • @trungbui3161
    @trungbui3161 2 года назад

    damnnnnnnnnnnn

  • @ooings
    @ooings 2 года назад

    Pin me

  • @denvza
    @denvza 2 года назад +1

    First

  • @salmanrafi4253
    @salmanrafi4253 2 года назад

    What the Flutter! 😂

  • @monoforest9
    @monoforest9 2 года назад

    완벽하게 내가 하고 있던 실수였다..

  • @dushes_botalov
    @dushes_botalov 2 года назад

    Me with 5 lists inside list 👁️👄👁️

  • @ninjaasmoke
    @ninjaasmoke 2 года назад

    I hope google doesn't nerf flutter

  • @BrendansReasons
    @BrendansReasons 2 года назад +45

    Cool, thanks. Don't say wtflutter please

    • @dertbom
      @dertbom 2 года назад +2

      Oh then you really were going to hate what I was going to say, what do you get when you cross a Flutter and a Dart dev. I'm guessing not cool. :-)

    • @ashaanoop2551
      @ashaanoop2551 2 года назад

      Why not?!

  • @ajaykotiyal427
    @ajaykotiyal427 Год назад

    I think there should be "slivers" instead of "children" in CustomScrollView

  • @tubeasjay
    @tubeasjay 5 месяцев назад

    custom scroll view requires sliver (now) and not children :(

  • @tomaszczajka1231
    @tomaszczajka1231 3 месяца назад +1

    DartPad link no longer works.. What the flutter? "The workshop mechanism previously described here is no longer supported"
    no alternative. they just killed the example.. At least leave source code guys

  • @tigeruppercut2000
    @tigeruppercut2000 3 месяца назад

    Womp womp link no longer has the content in question

  • @Liv_Life
    @Liv_Life 2 года назад +1

    First