ไม่สามารถเล่นวิดีโอนี้
ขออภัยในความไม่สะดวก

Stateless vs Stateful | Flutter Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 14 ส.ค. 2024
  • A simple attempt at debunking the difference between a Stateless and Stateful Widget in Flutter. Also includes an example of randomizing numbers and using a Ternary Operator. This tutorial is meant to break down the differences in a simple example app with just an AppBar and a FloatingActionButton.
    See the source code:
    learnflutterwithme.com
    #flutter #learnflutter
    Instagram:
    learnflutterwithme
    Stuff I use for this channel (Affiliate Links)
    SanDisk 1TB SSD amzn.to/3j1U8py
    Elgato Cam Link 4K amzn.to/37EyqBK
    Logitech G600 Mouse amzn.to/36DYFYz
    Logitech G Pro Keyboard amzn.to/3saco38
    Macbook Pro M1 13" amzn.to/36GzbKc
    Neewer Mic Arm amzn.to/3z7RvIm
    Davinci Resolve amzn.to/3erEb9I
    Adobe Photoshop Elements amzn.to/3BkPKth

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

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

    I love you tutorials with map guide and constructing the idea clearly in mind!

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

    Great explanations, showing gradually what happen when trying to change state of stateless widgets. Tons of thx

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

    Thanks a lot, much love from India ❤

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

    very good, ive been messing around trying to just do a simple button update something on the UI for ages and after watching this I have found my method to do it, nice and simple

  • @AbinStanislaus
    @AbinStanislaus 3 หลายเดือนก่อน +1

    very helpful.

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

    your content is underrated man

  • @Vasudevan.Gnanasekaran
    @Vasudevan.Gnanasekaran 5 หลายเดือนก่อน

    Thank you for good and useful video

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

    Clear and concise subscribed ✨

  • @tGoldenPhoenix
    @tGoldenPhoenix 2 วันที่ผ่านมา

    Thank you.

  • @Nanashi-rq7lk
    @Nanashi-rq7lk 8 หลายเดือนก่อน

    your explanation is clear. thanks

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

    Great explanation! Thanks.

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

    Nice tutorial for the basic concept of state. Thanks. @LearnFlutterwithMe

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

    I rarely comment on videos, but you're a great teacher.

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

    thank you

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

    Very Clear! Thank you!

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

    Nice tutorial for the basic concept of state. Thanks.

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

    pretty cool

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

    This is gold !!!!!

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

    Very well explained

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

      Thank you!

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

      @@LearnFlutterwithMe One thing I had hard time understanding was the point of Const, Final & Late. Especially the Final keyword.
      Do you have any plans on walking through the use cases and where it's useful with practical examples?
      Const is obvious, but Final & Late has been a tough nut to crack.

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

      @@mikopiko Yes I can see if I can put that together soon!

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

      @@LearnFlutterwithMe That's highly appreciated, keep it up!

  • @davidsiltroy
    @davidsiltroy 2 ปีที่แล้ว

    great video! thank you!

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

    cool man thanks a lot

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

    So true

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

    ty 🦾

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

    Great Content, but the background music was a bi disturbing

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

    can you tell me why did you use 2 in nextInt() method?

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

      Generate a random integer between 0 and 1.
      If you want to generate in a range of 5, you have to use 6 in nextInt().
      so basically the range is by default starts from and 0 and end at (nextInt-1).

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

      @@faysalhasan4215 thank you, very much.

  • @topGfanboy
    @topGfanboy 2 ปีที่แล้ว

    How do i get the diagramatic representation of widgets

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

      I just create them in a flowchart app with a green background and then "green screen" the background out in my video editing software

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

    awesome tutorial, and most bad a$$ t~shirt!! long live Kamelot dev brother!

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

      Thank you! And yes, one of my favorite bands! ☺

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

    so why not just use stateful widget all the time?

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

    I did not look so hard 😂

  • @vtvvnha2230
    @vtvvnha2230 2 ปีที่แล้ว

    thank you