Dart's Variables and Data Types - Learn About Final, Const, Late and Data Types in Dart

Поділитися
Вставка
  • Опубліковано 24 гру 2024

КОМЕНТАРІ • 55

  • @ruqaiyasattar4985
    @ruqaiyasattar4985 2 роки тому +12

    Although I have completed ..advanced courses related dart, flutter...i will still watch this one video to ensure not to miss any details :D because I enjoy your courses..its fun to learn and relearn

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

    Quick nitpick for 8:21, in Rust variables are immutable by default and "const" is used for (global) values that can only be computed at compile-time and don't have one memory address associated with them, pretty much like "constexpr" in C++

  • @jelilabudu
    @jelilabudu Рік тому +1

    28:26 😮 I can't believe what I just heard. You can reassign final variable with the value of const variable but not the other way around.
    It's understandable, due to the fact that both types hold constant values, although final allows internal mutation.

  • @최종환-h9c
    @최종환-h9c Рік тому

    28:36 even though you did not write anything, it recommends const [ name = 'foo';]. could you tell me which extension do you use for it? thank you!

  • @Matheus-mr4tl
    @Matheus-mr4tl 10 місяців тому +1

    Really good class. Thank you.

  • @marufhassan634
    @marufhassan634 2 роки тому +2

    I knew everything already but it was a good recap. You are a great teacher!

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

      I’m glad to hear that. Thank you 😊

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

    Even if I have done some micro projects in Flutter/Dart, because of the lack of constancy I have to study all over again.
    Really, those videos are very good, the way you explain is very clear and I understand what I'm doing.
    I've decided to keep a constancy, although small, of at least one hour a day to be able to improve/gain skills with Flutter and I've decided to upload it to my repository.
    Honestly, if there's a place to start, it's this course.
    Thank you very much!!!

  • @tayabfarooq2062
    @tayabfarooq2062 2 роки тому +2

    Thank You Vandad! You are amazing man!

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

      I appreciate that, thank you 🤗

  • @gentechcomputing
    @gentechcomputing 2 роки тому +2

    woow .... i love how you teach. May God really bless you.

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

      I appreciate that, thank you 😊

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

    I really enjoyed this particular course. You're awesome thank you. Moving on

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

      You are so welcome

  • @Scottschild
    @Scottschild 3 місяці тому +1

    impressed truly exeptional...very good

  • @mojymojy8590
    @mojymojy8590 Місяць тому

    hi is fswatch available for windows or do you know any substitute for it for windows?

  • @NOURELHOUDA-ey7ec
    @NOURELHOUDA-ey7ec Рік тому

    thanks for the help , I've been coding for almost half a year now but i just knew some stuff that i never heard of during this 1h video , thank u again

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

    how do you make the code sugguestions showing at end of line? what vscode extentions is using?

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

    What is the alternative to fswatch on windows?

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

      If you're using VS Code you can use the Code Runner extension to output your code.

    • @nested9301
      @nested9301 3 місяці тому

      nodemon

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

    20:26 const v/s final:
    You can't reassign const variable or change the internal value of a const variable.
    For a final variable, you can change its internal value, but you can't reassign to it a new value after it's already been assigned.

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

    Are you using an extension to show inline warnings in the editor?

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

    I developed a deep love for your style of teaching.
    Even though I've learned enough to get my feet dirty with Dart, I'm reviewing Dart through your videos.🎉🎉🎉

  • @АртурЗарипов-б2й
    @АртурЗарипов-б2й 11 місяців тому +1

    Thank you very much!

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

    Really appreciate the effort that you put into these courses! Thanks!!

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

      Glad you like them! 😊

  • @TechInFunWay
    @TechInFunWay 9 місяців тому +1

    we are in the same opinion of it will be good to name src instead of bin

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

    I finally found my teacher to learn dart. I really thank you. good explained 👍👍

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

    I left the specify type in linter and dart complained about missing type annotation for List

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

    Please do a video making extension in dart.
    I watch all ur courses on flutter and was amazed on how u use extension to make your task easier.

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

    Awesome, thanks!

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

      You're most welcome 😊

  • @JoeGoldberg-ee7eq
    @JoeGoldberg-ee7eq 2 роки тому

    Sir this wonderful course will be of how many hours ?

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

    Hi, I'm windows 11 user, I download and charge the WSL ubuntu virtual machine and I opened the wsl console, when I trynna do this command fswatch -o bin/ | xargs -n1 -I{} sh -c 'clear; dart bin/example.dart' it didn't work and appear a message that says " xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value"
    Please help me this problem

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

      Did you find a fix? I installed with cygwin and get the same xargs warning.

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

      @@ralphstube any fix ?

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

      @@elieyass3799 hi, remove the -I{} which is just for macs.

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

    Hi @Vandad Nahavandipoor , I am really bored with UA-cam ads which are shown every 2 or 3 minutes while watching your videos. Do you have a solution for this?

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

      Hi. I don’t know how YT algorithms work but I believe they decide how often ads are displayed based on certain criteria because I cannot steer that unfortunately 🥲

  • @dev.faizan
    @dev.faizan 2 роки тому +2

    amazing

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

      Glad you liked it 😊

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

    Awesome tutor

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

    Sir would Make video on how to code game engine?

  • @swaggytho7705
    @swaggytho7705 9 місяців тому

    YESS THIS IS WHAT I WANT

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

    great

  • @tarangsharma2898
    @tarangsharma2898 Рік тому +1

    command used in video:
    fswatch -o bin/ | xargs -n1 -I{} sh -c 'clear'; dart bin/example.dart'