#9 - Understanding Null Safety in Dart - Type Promotions, Null Assertion, Late, Required

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

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

  • @Flutterly
    @Flutterly  3 года назад

    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

  • @souravsuman636
    @souravsuman636 3 года назад +9

    The only video that really clears my concept of null safety. 😍 Thanks a lot Sir.

    • @Flutterly
      @Flutterly  3 года назад

      I'm glad I could help, man! ✨

  • @mohit-tater
    @mohit-tater 3 года назад +2

    You had me at 01:45 when you connected the dart and the flutter logos to re-iterate the dart analogy that you have provided in the first video of this series. Creativity next level. Superb!
    Thanks for your efforts and for making this invaluable programming tutorial series.

    • @Flutterly
      @Flutterly  3 года назад

      Haha thank you so much for noticing! The small details make the cut, you know it 👍

  • @muhammadmusa2698
    @muhammadmusa2698 3 года назад +4

    just watched sound null safety from flutter channel and then watched this video, you are reallly awesome.....very very deep

    • @Flutterly
      @Flutterly  3 года назад +1

      Thank you so much 😀, it really means a lot to me!

    • @muhammadmusa2698
      @muhammadmusa2698 3 года назад +1

      @@Flutterly every development domain should have a youtuber like you to keep there development domain alive

    • @Flutterly
      @Flutterly  3 года назад

      Thank you brother, I really appreciate it,

    • @muhammadmusa2698
      @muhammadmusa2698 3 года назад

      @@Flutterly and also i want to become a member of your channel , but I can't see any buttons in your channel for membership.
      Is this feature not available for Pakistan or you turned it off?

    • @Flutterly
      @Flutterly  3 года назад

      Yep, it may not be accessible. But you can check out my Patreon link and become a member there, it's basically the same memberships as on RUclips

  • @mazenalsakkaf
    @mazenalsakkaf 3 года назад

    Wow! You are the best one who has explained such a complex topic. Many thanks indeed.

  • @timatikgz5310
    @timatikgz5310 3 года назад +1

    Firstly I make like 👍 in your video then start watching) just keep doing) your tutorial amazing ) you're helping a lot of people) just know
    🙌

  • @webghost2009
    @webghost2009 3 года назад +1

    Again clear and detailed tutorial for the Null Safety feature. Good work.

    • @Flutterly
      @Flutterly  3 года назад

      Thank you so much! ✨

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

    Thanks. As always another great tutorial 🙏🙏🙏

    • @Flutterly
      @Flutterly  3 года назад +1

      My pleasure! Thank you!

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

    at 15:26 why you said ''for the compiler or analyzer assigning top-level variables & static fields require ton of time" ?

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

    This is a wonderful course for understanding the underlying working of Dart better however the title "Dart - from novice to expert" is rather misleading.
    So far, what I have seen even from the start of the tutorial is that the tutorial already assume you are at least an intermediate programmer familiar with a lot of concepts and with already some languages under your belt to be able to follow this properly, and even, it assume you already are knowledgeable with at least one or more languages relatively similar to dart, and I would guess that an experienced python programmer but is a novice starting to learn Dart would struggle to follow most of this because of the way the topics are laid out.
    So definitely not for novices in my humble opinion, feels more like a walkthrough of dart and its feature for those who already have experience which is exactly what I was looking for.

  •  3 года назад +1

    amazing explanation!!!! thank you!!!

    • @Flutterly
      @Flutterly  3 года назад

      Glad it was helpful! Thanks!

  • @jasnamitrovic1650
    @jasnamitrovic1650 3 года назад +1

    Amazing explanations. I am coming from iOS and Swift, and all this was pretty natural to me I was so terrified seeing that Dart doesn't have optional types, and than they introduce it, but I was already working on a laaaarge project and this transition was so painful 😓

    • @Flutterly
      @Flutterly  3 года назад

      Glad you enjoyed it!

  • @АртурЗарипов-ю9п
    @АртурЗарипов-ю9п 3 года назад +1

    Good job!

  • @qazqwe5419
    @qazqwe5419 3 года назад +1

    What is the difference between 'assign' , 'initilize' and 'declare' here.

  • @rabbilkabiraz7883
    @rabbilkabiraz7883 3 года назад +1

    sir that create a class final variable & named constructor than....problem showing class Todo {
    final String id;
    final String title;
    final DateTime time;
    Todo({this.id, this.title, this.time});
    } The parameter 'time' can't have a value of 'null' because of its type, but the implicit default value is 'null'.
    Try adding either an explicit non-'null' default value or the 'required' modifi

    • @Flutterly
      @Flutterly  3 года назад +1

      You need to mark the named parameters as being required or assign them a default value, I'll talk about this In the next tutorial regarding Dart functions.

  • @abbasali6588
    @abbasali6588 3 года назад +3

    Guys here's a rule - First like the video, then watch the video.

    • @Flutterly
      @Flutterly  3 года назад +1

      😂 #notificationSquad 🌟 thanks, brother

    • @abbasali6588
      @abbasali6588 3 года назад

      @@Flutterly hahah

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

    He is like a theoretical physicist explaining how to prepare tea. Of course it wouldn't be possible to boil water without the laws of physics, but do we have to derive equations to make a glass of tea?

  • @imankamali5799
    @imankamali5799 3 года назад +1

    😉😘