Flutter Europe: Optimizing your Flutter App

Поділитися
Вставка
  • Опубліковано 30 лип 2024
  • Flutter is fast by default, but that doesn't mean you as a developer are off the hook. In this Flutter Europe talk, Filip walks the audience through an app with many performance issues, and tries to address all of them.
    The app source → goo.gle/2QWBvVM
    More on Flutter performance → goo.gle/33Y04aj
    Learn everything about Flutter at → flutter.dev
    Subscribe! → goo.gle/FlutterYT
  • Наука та технологія

КОМЕНТАРІ • 69

  • @ResoCoder
    @ResoCoder 4 роки тому +29

    You may not know it yet but 2:20 is what you came here for.

  • @DominikRoszkowski
    @DominikRoszkowski 4 роки тому +4

    I really enjoyed this overview of all the great tools available for us right now

  • @antobine
    @antobine 4 роки тому +3

    Amazing talk! Very interesting points, hope to see more on this topic

  • @serdarcoskun8367
    @serdarcoskun8367 4 роки тому +2

    I really enjoyed the video, quite informative. looking forward for new presentations. 👍

  • @shashikantdurge
    @shashikantdurge 4 роки тому

    Nice & Important topic. Looking forward to such advanced important topics ahead.

  • @user-vr9qb5rj4j
    @user-vr9qb5rj4j 2 роки тому +2

    Thank you Filip and Flutter team!

  • @rebarius
    @rebarius 4 роки тому +9

    I like Filip's shirt with the bicycle 👌🏼

  • @tienduy1296
    @tienduy1296 3 роки тому

    thank you!!! The presentation was great >3

  • @digiunlimited3000
    @digiunlimited3000 4 роки тому

    Good talk as always Filip

  • @captainbear3110
    @captainbear3110 4 роки тому +2

    Listview scrolling is still laggy for dynamic height items especially in Android. It is affecting the performance

  • @thisispax
    @thisispax 4 роки тому +5

    I would like that 8hr+ workshop please. Even if broken up in separate sessions. 🙇🏻‍♀️

  • @aal9664
    @aal9664 4 роки тому

    How does web scrapping work when using the flutter? Using if course the backend what is the best and easiest method in bring that in use?

  • @deepaklohmod396
    @deepaklohmod396 2 роки тому

    Like you said that if we use stateless widget then all the child of it are considered as a single widget is rendered so is it same for a statefull widget also?

  • @lyricsmint567
    @lyricsmint567 4 роки тому +32

    Flutter needs a beginner series. So newbies can learn from officials.

    • @TheVikke2
      @TheVikke2 4 роки тому +20

      There is such a thing called "the boring show"

    • @sivasankarant9195
      @sivasankarant9195 4 роки тому

      Definitely 👍

    • @mshahzaib1629
      @mshahzaib1629 4 роки тому +4

      You may learn it by Max on Udemy

    • @ScotCinamon
      @ScotCinamon 4 роки тому +1

      ua-cam.com/video/x0uinJvhNxI/v-deo.html

    • @jan3477
      @jan3477 4 роки тому

      @@vasylmayovets8778 I can highly recommend that !

  • @victormanuelfrancodev
    @victormanuelfrancodev 2 роки тому

    great talk!,was very interesting

  • @JoonBeh
    @JoonBeh 3 роки тому

    When is the web app going to be released officially? I've been waiting over 1 year.

  • @DexterTalha
    @DexterTalha 4 роки тому +1

    Awesome... Thank you

  • @littlebearandchicken2077
    @littlebearandchicken2077 4 роки тому +2

    Thanks, Ninja.

  • @YaoBinThen
    @YaoBinThen 4 роки тому +23

    Was thinking why everything looks so smooth, then I realized I'm on 2x playback 😂

    • @EdmoreGonese
      @EdmoreGonese 2 роки тому

      Oh makes sense 😆 Like I was missing all the jank

  • @ricard458
    @ricard458 2 роки тому

    Great tips!

  • @andrearsenault7284
    @andrearsenault7284 4 роки тому +5

    At 21:25, why is it a performance improvement to break _buildLineWidget() out into a new StatelessWidget? Isn’t Padding (the parent of all 8 children) already a StatelessWidget? Why does wrapping Padding in a custom Widget reduce the number of widgets built?

    • @EagleZH23
      @EagleZH23 4 роки тому +2

      I was thinking the same thing

    • @HoaHoang-qj1vl
      @HoaHoang-qj1vl 4 роки тому

      I think if we break it into another widget instead of writing method inside old widget. Flutter can reuse the new widget because when Flutter checks it has a same runtime type. Please correct me if I am wrong, it's my guess :D

    • @sadhlife
      @sadhlife 4 роки тому

      @@HoaHoang-qj1vl nah that's not the reason

    • @sadhlife
      @sadhlife 4 роки тому +3

      the reason is that usually an entire widget gets painted together. that's what the build method is for.
      if you have your own method that creates the widgets flutter can never know what it is building, and hence cannot apply any internal optimisations. it is therefore preferred to use stateless widgets instead of methods that return a widget

    • @OliverRhyme
      @OliverRhyme 3 роки тому

      I think because it can reuse the same widget, because has basically no change in attributes or structure, so no need to recreate the render element for each rebuild

  • @benn5451
    @benn5451 4 роки тому

    Great video

  • @Gentleman217
    @Gentleman217 2 роки тому

    what is the tool filip is using to share phone screen?

  • @RiceCooker-hp5px
    @RiceCooker-hp5px 4 роки тому +4

    w8, is this a reupload?

  • @mohamad.elbohsaly
    @mohamad.elbohsaly Рік тому

    Should I run profiling on old and new phones? Or not necessarily

  • @Tomokeneable
    @Tomokeneable 4 роки тому +1

    22:00 do I understand correctly then that using statelessWidget instead of method increases performance? So far, I tried to use methods wherever possible and tried to keep one stanelessWidget per page/view. Is this a bad practice?

    • @michasengotta2295
      @michasengotta2295 3 роки тому +5

      I was also wondering what he meant, because I don't think it makes any difference where the child widgets are built.

    • @YouWatchGames
      @YouWatchGames 5 місяців тому

      @@michasengotta2295It makes a different because flutter cant reuse those widget if they come from a method

  • @mohamad.elbohsaly
    @mohamad.elbohsaly Рік тому

    But I wish someone can help in analyzing the graph (jank), so that I can mitigate the sluggishness.

  • @user-zb6tu3bh8j
    @user-zb6tu3bh8j 4 роки тому

    Very gooddddd

  • @wearecode9199
    @wearecode9199 4 роки тому

    Hello, i am currently learning flutter , but i always come across things that i never knew i mean, there s always something else, and i am wondering where you guys learn all this ? University , bought courses, just documentation ? any advice how to gain this knowledge gradually and without anxiety ?

    • @wearecode9199
      @wearecode9199 4 роки тому

      @@filiphracek4240 i do agree with that, but still there is not the feel of "gradual" progression, like legos , i guess its just me :(

    • @wearecode9199
      @wearecode9199 4 роки тому +2

      @@filiphracek4240 wait are you the actual Filip? thats a huge honor if yes

    • @sadhlife
      @sadhlife 4 роки тому

      @@wearecode9199 he is

    • @sadhlife
      @sadhlife 4 роки тому

      @@wearecode9199 I'll suggest you try out video courses like Angela yu or udemy if you feel the documentation is too hard

    • @wearecode9199
      @wearecode9199 4 роки тому

      @@sadhlife Been there done those - i am better know - thanks man

  • @furkansarihan
    @furkansarihan 4 роки тому +3

    9:25 😄

  • @daraxdray
    @daraxdray Рік тому

    Thank you - This is a lot to bag

  • @ouya6967
    @ouya6967 4 роки тому

    22:00 StatelessWidget is fater than function?

    • @kazukihiromoshito2935
      @kazukihiromoshito2935 3 роки тому

      widgets use keys to cache whatever's not changing so it won't practically rebuild everything, but in the case of function-made widgets, everything is rebuilt

    • @OliverRhyme
      @OliverRhyme 3 роки тому

      @@kazukihiromoshito2935 it does not use the keys, but rather the element and thus the render object. But determining if the widget needs another element or can just reuse the same element depends on the runtime type (and keys if present)

  • @utkarshyadav6119
    @utkarshyadav6119 4 роки тому

    When the sloth rotates I was like OK
    Its slow
    But when it fades away even slower that was the point I was like dammm.....

  • @jeieljunio2034
    @jeieljunio2034 4 роки тому

    👏👏👏👏

  • @Artem-bx1is
    @Artem-bx1is 7 місяців тому

    Best

  • @MohamedSlama
    @MohamedSlama 2 роки тому +1

    I wish if he didn't stop talking, Awesome

  • @ColdStoneBoy
    @ColdStoneBoy 4 роки тому

    👍

  • @xRapidNet
    @xRapidNet 2 роки тому

    Amazons Talk!

  • @tofiqsamali6846
    @tofiqsamali6846 4 роки тому

    Flutter is Amazing but Filip is more

  • @toufiqulislam8575
    @toufiqulislam8575 4 роки тому +1

    please show any object detection app with Tensorflow with Image annotation, model preparation, and model training.

  • @salaheddine6556
    @salaheddine6556 3 роки тому

    Hope u add Arabic Caption soon