Flutter Null Safety (!, ?, ??, late, ...)

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ก.ค. 2024
  • Learn everything about Flutter Null Safety & Dart Null Safety.
    Click here to Subscribe to Johannes Milke: th-cam.com/users/JohannesMilke...
    👉 12 Week Flutter Training | heyflutter.com
    👉 Flutter Masterclass Courses | heyflutter.com/masterclass
    Source Code | github.com/JohannesMilke/null...
    My Courses | heyflutter.com
    Follow Newsletter | johannesmilke.com/#/newsletter
    SUBSCRIBE HERE
    bit.ly/JohannesMilke
    SUPPORT & SPONSOR ME
    github.com/sponsors/JohannesM...
    TIMELINE
    0:00 1. ? Question Mark (Null Safety)
    0:29 2. ?? (Null Safety)
    0:45 3. ??= (Null Safety)
    1:03 4. ...? (Null Safety)
    1:24 5. ? and ! (Null Safety)
    2:35 6. late keyword (Null Safety)
    SOCIAL MEDIA: Follow Us :-)
    Twitter | / heyflutter_
    Linkedin | / heyflutter
    #Flutter #Tutorial #JohannesMilke
    LIKE & SHARE & ACTIVATE THE BELL
    Thanks For Watching :-)
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    This might help you :)
    👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com
    Source Code: github.com/JohannesMilke/null_safety_all
    Flexible Widget Tutorial: th-cam.com/video/5TwBXLZdVvk/w-d-xo.html
    Expanded Widget Tutorial: th-cam.com/video/N1FMX4rDn6Y/w-d-xo.html
    Spacer Widget Tutorial: th-cam.com/video/n4dJVUdj4ik/w-d-xo.html
    FittedBox Widget Tutorial: th-cam.com/video/WpTMNArnXdc/w-d-xo.html
    Flutter Layout Basics Tutorial: th-cam.com/video/yYxueTNIDlA/w-d-xo.html
    Row Layout Basics Tutorial: th-cam.com/video/lY5GtNkvyhM/w-d-xo.html
    Column Layout Basics Tutorial: th-cam.com/video/nW9pAyDs-wE/w-d-xo.html

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

    Great content as always. Like 2 weeks ago I had to migrate this old project I had to null safety and update all its dependencies. I did it manually. It drove me nuts. This guide would've made things much easier.

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

    Thanks for listening my demand ❤️
    Best flutter teacher 🔥

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

    The best video about it. Straight to the point.

  • @88billizzard88
    @88billizzard88 2 ปีที่แล้ว

    Very understadable! Thanks

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

    Best null safety guide ever,, nice work 🔥🔥

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

    Been looking to understand the difference. Thank you very much 🙏

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

    building list with complex very json data in flutter implement in ui

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

      Same question

    • @KapilSharma-ul4ev
      @KapilSharma-ul4ev 2 ปีที่แล้ว

      How to implement a complex nested JSON object in ui flutter

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

      Same to same my question please explain properly

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

      This question is very important because I have to give project for 3 days and I am not able to implement nested API.

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

      My is same

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

    Keep going.. very informative content..

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

    There's always something that you don't know. For example, I am a flutter intermediate. But ...? was new for me. Thank you for the tutorial. Really enjoyed to watch those smooth animations.

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

    As always, best explanation ever

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

    was very helpful to me, thank you!

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

    Great video. Thanks

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

    wow nice explanation :)
    thnx a lot

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

    Nice! Thanks!

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

    Nice work, thanks!

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

    what an amazing explanation, kudos!

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

      Thank you, Krishna Gupta! 🙂

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

    Made my day bro. This operator (!) with nullable var was a headache for me.

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

      You are welcome, @ashfaqkayes5222 😊

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

    Greatly explained

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

    Absolutely incredibly useful information in a beautifully concise way. Love your work

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

      Thanks, Tȟaŋháŋši Tȟáŋkamatȟó! 🙂

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

    Wonderful content as i expect, keep going.

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

      Glad you liked it, @mohammedtouati8479 😀

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

    I must say that One of the best informative video on your channel ever
    Thanks for sharing this great useful information with us

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

      Glad you liked it, @realislam8153 😀

  • @crazy-man
    @crazy-man 2 ปีที่แล้ว

    clear presentation, I just wanted to know more about null safety

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

    I really love your short and unique explanations, keep going bro

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

      Glad you liked it, Barzy Yasin 😀

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

    Very good lesson! Thanks!

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

      You’re most welcome, @danqiu6413! 🙂

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

    That voice sir.... :)
    thankyou sir for this informational video... :) LOved it

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

    Very very Good video
    Thank you u explain how to solve null safety problems

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

      @@HeyFlutter
      I am waiting another videos from u

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

    I need 30 minutes video on null safety ,deep explanation

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

    nice explanation sir thankyou

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

      You are welcome, Somesh Sahu!

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

    Your channel is like stackoverflow when I stuck somewhere while coding :) Get your recipe pill just before start.

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

      Great, Thank You VelociRaptor

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

    Thank you

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

      You are welcome, @user-jj3ld6kk2u!

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

    Could you make a video lesson on Dynamic Links please...

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

    My flutter teacher

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

    Cool

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

    🔥

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

    Can you explain how to convert previous version of project to null safety

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

    nice intro

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

    i clicked on container then container size will be increased from bottom and where size will increase I want to add text on that space.......
    which widget use for this??

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

    json data in flutter how to implement

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

    Hi Sir Please Make a video on how to request Location Permission on run time i am getting location but for that i have to allow location manually in settings of app Kindly make a video on permission Dialog Box Thanks

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

      @@HeyFlutter sir please make next video on this topic. I've requested this video in last month

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

    Excuse me sir! I'm learning so much from your tutorials 😃 and while learning I got a problem that i created drawer and button NavBar for my app but when i opened drawer ,NavBar came infront of the drawer...How can i fix it. Please help me as possible !

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

      @@HeyFlutter Sorry Sir but I can't get it😞 ! Could you please make a video tutorial on it ,tough cause I see many people have got the same problem. It would be really useful for beginners like me. ❤️

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

      Thank You Ⓖeek! Follow this link: stackoverflow.com/questions/63882656/flutter-drawer-overlaps-the-bottom-navigation-bar
      I hope you will get your answer 🙂

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

    I didn't know about ?... operator.

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

    Bro how Can I Paste any File In Particular device storage data path Using button In Flutter ? Can you Tell Something About It?

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

      Thank You Coder! Follow this link: medium.com/kick-start-fluttering/saving-data-to-local-storage-in-flutter-e20d973d88fa
      I hope you will get your answer 🙂

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

    Nice like always, can we expect soon something about dapps with flutter? Maybe on Ethereum network or others...Thank you for amazing content :)

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

    When is late initializer needed? It seems like a keyword that leads to bugs

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

      Hahaha 😅

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

      In a stateful widget with a dynamic value that is assigned to another variable in the initState statement. In order to use that variable in the widget, you need to initialize it outside the initState and that's where I use "late". ☺️

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

      Thank you, Jorge Andrés! 🙂. Use late when you strongly convinced that first time you use late field it will be initialized

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

    Please activate the subtitles in different languages

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

    Sir can you create a DISCORD server so all of your subscribers can join there and chat or solve problems together?

  • @m.2.3
    @m.2.3 2 ปีที่แล้ว +1

    Error: The operator '[]' isn't defined for the class 'Object'.
    - 'Object' is from 'dart:core'.
    Try correcting the operator to an existing operator, or defining a '[]' operator.
    final data = snapshot.data!["data"] as List;
    Can you solve the problem?

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

      Thank You محمود علي حسين! Follow this link: stackoverflow.com/questions/60245865/the-operator-isnt-defined-for-the-class-object-dart
      I hope you will get your answer 🙂

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

    why is this channel only in english

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

      Because it's the most known language worldwide.

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

      Thank you, Gataka534! 🙂. In future I will think about it, but for now it will remain in English as it is easy for people to understand English.

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

    throw error when List eroror Text([...?_secList.elementAt(0).id, 1].toString())

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

      Hey @johnmartin9329, make sure to follow the tutorial step by step 🙂