Flutter Tutorial for Beginners #25 - Asynchronous Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 ก.ย. 2024
  • Hey gang, in this Flutter tutorial we'll talk about async code in Dart - async, await & Futures.
    ----------------------------------------
    🐱‍💻 🐱‍💻 Course Links:
    Course files - github.com/iam...
    Android Studio - developer.andr...
    Git - git-scm.com/do...
    Flutter Installation - flutter.dev/do...
    🐱‍💻 🐱‍💻 Other Related Courses:
    + Modern JavaScript Tutorial - www.udemy.com/...

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

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

    this is the best async and await explanation video I have ever seen

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

    I tried several tutorials, even paid ones, but never understood a conception of async/await, but this is really just wow, Thank you Shifu

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

      Have to agree here, spend a lot of time understanding async await in JS and OP explains it crystal clear in just one sentence. Really valuable!

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

    I`ve never seen anyone explains concepts in a very tidy, easy and understandable way like you. Thank you for sharing your knowledge

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

    Finally a channel with good flutter tutorial, while building a project! Great one.

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

    this guy came straight from heaven! the way he explains is like never before.... thank you for your tutorials!

  • @Lee-jc1ob
    @Lee-jc1ob 4 ปีที่แล้ว +2

    Async is used everywhere, but only few made such comprehensive explanation. Amazing!

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

    I have ever seen anybody explaining async like this... hats-off... I'm happy finding your videos... God bless!

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

    your explaining skills is of the charts. as a part time teacher i can say that. you don't get distracted, or don't confuse us with little things. your understaning is so high

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

    Its the sign of genius to explain a complex idea simply. This is genius. Thank you

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

    It literally cannot get simpler than this ! Love from India !

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

    I watched soooooo many videos on this and just didn't get it, FINALLYYY, oh my god you have no idea how thankful I am right now.
    Thank you

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

    man, you are something else!!! you are the best instructor I've ever seen and I can't believe it!! thank you so much

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

      Thanks for the kind words Fakhri :) glad it was helpful!

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

    Thank you SUPER helpful. I have completed another Udemy Flutter series and was a little bit lost on asynchronous coding. I got the basic idea, but not really how to make it work or WHY the code did what it did. Thanks again for this series. I'm just learning to code apps (and GameDev with Godot) for fun as a hobby. You are truly a Ninja !

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

    Man really been enjoying this course. I'm familiar with async/await learning from JS web dev but in this video you make it very clear and give a great high level example of async/await. Once again thank you family!

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

    i had to stop the video to say this the best async and await explanation video I have ever seen, you are the master of teaching you can reach the brain of your students

    • @NetNinja
      @NetNinja  4 ปีที่แล้ว

      Thanks so much :)

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

    I have watched a ton of tutorials, and thought so long about this concept, but still couldn't understand it. But with this amazing video, everything has changed. Thank you so much. you are the best teacher.

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

    Best async/await explanation, and I've seen a few...

  • @zealtypedcode3119
    @zealtypedcode3119 3 ปีที่แล้ว

    you are a genius ninja instructor best async and await explanation I have ever seen

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

    I have been work with async/await in another language programming for years and even my friends also explain what is it, I still not even know that why I used it for. And now I have very enlightened with this kind of tutorial that actually I didn't expect will explain about async/await

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

    it really requires just some print methods for a concept to be understood for the first time ..thanks so much mahn

  • @AshwinAshwinRamdas
    @AshwinAshwinRamdas 3 ปีที่แล้ว

    echoing all the comments here. thank you thank you thank you for explaining async await with an actual example and not just a bunch of programming jargon like everywhere else on the internet. It makes so much more sense now.

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

    For the first time, I understood the async await concept in programming rightly... many thanks to you!!!

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

      Awesome!

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

    I read and watched about 5-6 tutorials on asynchronous programming but this just cleared all my doubts and questions single-handedly.
    Also Yoshi is a chad for being an egg collector.

  • @duynd0504
    @duynd0504 3 ปีที่แล้ว

    I have ever seen a lot of video which explain about async , but your video is very clearly . Thank you so much

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

    I love you so much that I'm delibrately watching all the ads without skipping.

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

    Async concepts when I was learning node js was very confusing to me but after watching this video, it's now making sense to me.

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

    Really good article. not just about Flutter only, but also about async/await concept which is provided in many programming language. thank you very much for social contributions

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

    Awesome stuff so far. I used to struggle with flutter until you started this series. Thanks.

  • @vijaybabaria3253
    @vijaybabaria3253 3 ปีที่แล้ว

    can't thank you enough for these tutorials to make it free for people who can't afford to pay - thank you

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

    First of all: Thank you for these awesome tutorials. I'm basically learning more coding from you not in uni. uni just gives me deadlines, you give me knowledge!
    I've got a notice that the projects need to be updated and I can't run the code in AVD Manager.

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

    Hello bruv, thank you so much for the tutorials, they are worth literal money to me ... Using them as a guide to do a project.
    Thank you, looking forward to the rest of the series.

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

      Awesome, really glad you are enjoying it :)

  • @bholaram5046
    @bholaram5046 3 ปีที่แล้ว

    You are the best teacher i have ever seen !!

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

    As everyone said, awesome explanation, it finally clicked!

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

    Shaun,You are really a life saver😍😍😍

  • @techienomadiso8970
    @techienomadiso8970 3 ปีที่แล้ว

    You are the best teacher out here.

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

    This video is gold!
    And this practice applies to (pretty much) every programming language.

  • @abdillahsyafiq
    @abdillahsyafiq 4 ปีที่แล้ว

    hands down the best async await tutorial ever

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

    omg this video is lifesaver also future is like coroutine from unity

  • @joekniesek
    @joekniesek 3 ปีที่แล้ว

    I did read the docs and watched some other tuts about this, without really be able to transfer it to my code (well i can copy/paste without actually understanding it) - but just after 5 minutes into the video i understand the Flutter-async :) Amazing teachingskills!

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

    This is the best tutorial for async/await/Future .. Have been through many tutorials but couldn't grasp the concept till I came across this one here ... Thank you very much😍

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

    excellent job really i stopped watching a series to watch this list of tutorials

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

    very simple and beautiful explanation of async and await . Thank you soo much

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

    Perfect explanation of async and await with examples😀

  • @_M.Y17
    @_M.Y17 13 วันที่ผ่านมา

    remember asychronous code represents an action that starts NOW, and finishes sometime IN THE FUTURE.
    an example of this could be interacting with an api endpoint, or a database or something to get some data.
    so we start the request but it doesn't finish STRAIGHT AWAY because it might take a second or two to complete that request, to go out and get the data. so it finishes sometime after the initial request is made once we get that data back.
    in the meantime our code should not stop until that request is complete, and the data comes back.
    async code should be none blocking so while the request is being made the rest of the code in our file could carry on.
    so to handle async code in flutter we're going to use a combination of async functions, await keyword, and futures.
    FUTURES are type of data very similar to PROMISES in js.

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

    I love your explanation so much friend, thank you so much

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

    Wow, this is pretty much no different from JavaScript!
    Thanks for your tutorials! This is my second language, many more to come!

  • @CrimsonAnima
    @CrimsonAnima 3 ปีที่แล้ว

    My only regret is not knowing about this channel sooner. The way you explained this blew my mind. Subscribed and liked the video!

    • @NetNinja
      @NetNinja  3 ปีที่แล้ว

      Thanks so much :)

  • @pannsenglong3830
    @pannsenglong3830 3 ปีที่แล้ว

    have no word, yeah no word.
    just the best .

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

    The best explanation i have ever seen.

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

    best tutorial ever, period.

  • @WafiyHM
    @WafiyHM 3 ปีที่แล้ว

    This tutorial is a lifesaver for me. Thank you The Net Ninja!

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

    what a way of explaning ,your kiling it I wish that you make courses on udemy on flutter and PHP you made it clear how the state works how the await works I never thought that I can find such a explanation on youtube thanks a lot

  • @bushraakram6003
    @bushraakram6003 4 ปีที่แล้ว

    best explanation for async and await !

  • @clydesantos1823
    @clydesantos1823 4 ปีที่แล้ว

    A very simple and best explanation of async ever

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

    Was struggling understanding async/await thanks 😊 ..you made it simple to understand...

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

    Finally understood async and await......huuuuuuuuuuuge thanx man😉

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

      Most welcome 😊

  • @afa6259
    @afa6259 3 ปีที่แล้ว

    absolutely brilliant way of teaching asynchronous code, now I understand. Thank you !!

  • @rutviktak716
    @rutviktak716 4 ปีที่แล้ว

    Your tutorials helping a lot to understand flutter and dart properly 😃😊

  • @harisharris5902
    @harisharris5902 4 ปีที่แล้ว

    Better than 99% paid courses!

  • @caroldanvers265
    @caroldanvers265 4 ปีที่แล้ว

    You explained async await so awesome. I finally understand async calls. Nice job!!

  • @adityagosavi9085
    @adityagosavi9085 4 ปีที่แล้ว

    very easy and understandable example of async and await. Thanks

  • @adnankhalil9640
    @adnankhalil9640 3 ปีที่แล้ว

    This guy is a legend, i dont know why you dont post these on udemy i will go buy them even if they are free here

    • @h.iq.97
      @h.iq.97 3 ปีที่แล้ว

      you can donate to him

  • @fawziabbad4645
    @fawziabbad4645 4 ปีที่แล้ว

    this is the best best best explanation I have seen for sync and await

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

    ok my friend, i need to take a rest an a hour

    • @h.iq.97
      @h.iq.97 3 ปีที่แล้ว

      and i thought its just me lol

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

    This was simply beautiful.

  • @makkhan3153
    @makkhan3153 3 ปีที่แล้ว

    Bro, it is one of the finest video, related to Async Kudos

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

    Bro low key, this vid is a W bro.

  • @camilleschori
    @camilleschori 3 ปีที่แล้ว

    What a great explanation MAN , Big Respect !!!

  • @suvodhdhungyell2268
    @suvodhdhungyell2268 4 ปีที่แล้ว

    Holy shait ... I watched more than 6 videos in youtube and 2 docs which didn't cleared me ..
    But watching your video called poof() function in my head which cleared everything about async and await keyword

  • @flaasher
    @flaasher 3 ปีที่แล้ว

    very very clear and useful .... many thanks
    finally understood async and await

  • @user-kn3eq5ui9m
    @user-kn3eq5ui9m 4 ปีที่แล้ว +1

    brilliant . thank you

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

    now i can say that i fully understand async code !

  • @user-tf9pt7yy7w
    @user-tf9pt7yy7w 2 ปีที่แล้ว

    You saved my ass haha
    What the shortest and the most clear explanation!

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

    awesome and excellent tutorial

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

    Thanks a lot sir

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

    I am feeling ninja ! AWESOME MAN !

  • @TheLogicalMess
    @TheLogicalMess 3 ปีที่แล้ว

    Best tutorials....Thanks man!

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

    you are amazing in your explanations, could you please make more flutter application tutorials apart from the 2 you have on your channel? I would even purchase them!

  • @shishirkumarsky
    @shishirkumarsky 4 ปีที่แล้ว

    You are a great teacher

  • @SXpitbull
    @SXpitbull 3 ปีที่แล้ว

    Smooth and clear explanation and well structured. really well done :)

  • @ronaldboodram6466
    @ronaldboodram6466 3 ปีที่แล้ว

    five out of five ninja stars best tutorial ever!

  • @mohammadalhayani5932
    @mohammadalhayani5932 3 ปีที่แล้ว

    Best explanation video, thanks for that

  • @usamajaved3231
    @usamajaved3231 3 ปีที่แล้ว

    Who are the 5 people who disliked this amazing explanation?

  • @dhruvnakum6381
    @dhruvnakum6381 4 ปีที่แล้ว

    Best Explanation ever....Thank You So much bro...

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

    Thank you sm! These tutorial help me a lots!

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

      Happy to help! :)

  • @aungmoethu1835
    @aungmoethu1835 4 ปีที่แล้ว

    love u very good explanation in the entire youtube

  • @k.s.waleedx5284
    @k.s.waleedx5284 2 ปีที่แล้ว

    man you're awesome you made me like coding

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

      That's awesome! :)

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

    Thank you. Very good and I am impressed.

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

      Thank you :) hope it was helpful

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

    Other option would be to nest those requests i guess if they depends on each other.

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

    brilliant explanation

  • @hunarahmad
    @hunarahmad 4 ปีที่แล้ว

    your an amazing tutor

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

    THANKYOU FOR EXISTING!

  • @johnnydriesen7575
    @johnnydriesen7575 4 ปีที่แล้ว

    So well explained. Thanks Ninja

  • @bluecodes5881
    @bluecodes5881 4 ปีที่แล้ว

    Awesome explanation! Many thanks!

  • @sophea_sao
    @sophea_sao 3 ปีที่แล้ว

    best explanation

  • @gustavoreyes5915
    @gustavoreyes5915 4 ปีที่แล้ว

    Wonderful explanation , thanks

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

    best best tutorials

  • @confearsion3778
    @confearsion3778 4 ปีที่แล้ว

    beautifully explained, thank you very much

  • @mohammadaljunde9452
    @mohammadaljunde9452 3 ปีที่แล้ว

    Thank you very much

  • @CrashOrFly
    @CrashOrFly 4 ปีที่แล้ว

    Simply brilliant!