#12 - Dart Functions - Anonymous Functions, Positional & Named Parameters, Lambdas, Closures, Scope

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 ก.ค. 2021
  • Hi there!
    In this video I'll make you a complete introduction to Dart Functions. You'll learn everything you need to know regarding named & anonymous functions (known as lambdas & closures), all types of parameters a function can take (positional & named). You'll also get a brief over the scope of a function and lexical closures.
    All animations were done in VideoScribe, you can try it by clicking my affiliate link --- www.awin1.com/cread.php?awinm...
    You can contact me directly here:
    Join my Discord Server --- / discord
    Twitter --- / letsgetwckd
    Instagram --- / letsgetwckd
    Also, if you want to support me furthermore you can become an TH-cam Member, donate or buy my courses on Udemy, using the following links:
    Become an Official TH-cam Member! ---- / flutterly
    Buy my Udemy Courses! ---- www.udemy.com/user/tiberiu-po...
    Support me on Revolut! ---- revolut.me/letsgetwckd
    Buy me a Ko-fi! --- ko-fi.com/wckdyt
    Donate me on Paypal! --- www.paypal.me/letsgetwckd
    Support me on Patreon! --- / wckdyt
    Dart - from Novice to Expert Source Code --- github.com/TheWCKD/Dart-from-...

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

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

    My Complete Dart Course is now live on Udemy! Go get it while it's hot!
    Oh, and as a gift to my community, here's a limited-time coupon (LETSGETWCKD) helping you get it with as little as 9.99$.
    It's a steal for the amount of work I put in.
    www.udemy.com/course/dart-from-novice-to-expert/?referralCode=EC9CB6CC14FFA62C901B

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

    best dart tutorials on youtube. or any platform. thanks for the hard work.

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

    i was one of the people who was facing problems with anonymous functions, and i am glad i knew i needed to come back, thank you!!!!!

  • @siwarmaaoui-vo3ty
    @siwarmaaoui-vo3ty 3 หลายเดือนก่อน

    perfect job ! Continue .. your tutos are so helpfull

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

    Another Dart Blockbuster :)

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

      Thanks, brother!

  • @ZafarbekKarimov-xo8kr
    @ZafarbekKarimov-xo8kr 9 หลายเดือนก่อน +1

    Best of the best
    if would be even better if there were more example 💥👍

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

    the double brackets ()() hint at the end of the video is neat 👌

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

      Thank you so much, brother, I am glad you observed it! 🌟

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

    Thanks

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

    Very very good tutorials. I bet you have read some Dart documentation that even Dart creators haven't read yet :)

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

      Haha, thank you so much, man! ✨

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

    Bullseye! 🎯

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

    Amazing 👏.
    Bro can suggest some books on Dart and flutter?

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

      Not to speak for him, but I think "Dart Apprentice" by Jonathan Sade & Matt Galloway looks like the best book on Dart itself.

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

      @@davidowens9597 Thanks man

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

    I am a javascript dev.I am learning Dart.And honestly so far,your course playlist is just amazing.I've found so many Dart courses on youtube.But most of them just scrace on the serface.You really consider your viewers as a dev who are learning Dart as there 2nd or 3rd langguage.
    I've one recommendation.Please make the font-size a bit larger as it's really hard to see the text.
    I have a question too.you are referring the lamda as a closer too.I am not sure,are all lamdas are closer in Dart?Like in javascript,a scoped function is only a closer when it enclosed it's parrent's local variable.Otherwise it not act like a closure.In this video,the lamda function in map is not enclosing any parent local variable,it justi run bassed on arguments that are given by the parrent function-in this case it the map function.Please make it clear.
    Thank you

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

    At 4:16 and 4:39 you say: "a type of void". But the 'void' seems to be a different animal on the Dart type hierarchy tree. Is it a class? Can you instantiate an object out of it? We know that 'void type' cannot hold any values (not even a null?). So is it a primitive? (Like in C language) So what gives.
    Anyway, this is an exquisite course. Thank you for all your hard work!!!

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

    'comment' for channel promotion)

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

      Thanks, brother! ✨

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

    Thanks, but please consider dropping the periodic "please subscribe" pop-ups - it's very distracting.

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

    yet another great tutorial with clear, detailed and easy to follow. Keep helping dart programmers. WCKD!. 1000x👏

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

      Thank you so much, brother! ✨