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

  Рет қаралды 22,106

HeyFlutter․com

HeyFlutter․com

Күн бұрын

Пікірлер: 62
@HeyFlutter
@HeyFlutter Жыл бұрын
This might help you :) 👉 12 Week Flutter Training from Newbie to Expert: heyflutter.com Source Code: github.com/JohannesMilke/null_safety
@vTailsFPS
@vTailsFPS 2 жыл бұрын
This is amazing! so simple but explains it so well! You just saved me loads of reading and research! Thank you
@husseinnasibu
@husseinnasibu 2 жыл бұрын
You always do a great job milke you are my favorite flutter KZbin instructor, it's short clean and fully comprehensive thanks you very much for your dedication....
@Kumar-gz8sb
@Kumar-gz8sb 2 жыл бұрын
Good and fast
@shribalaji1403
@shribalaji1403 2 жыл бұрын
You're so amazingly explained. And saved a lot of time and moreover I love your voice it's so good and pampering!. Ur so amazing dude.
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank you, Shri Balaji! 🙂
@youtubeflight
@youtubeflight 2 жыл бұрын
Whoa this short video was super helpful and full of core compact information!!
@programingtales7514
@programingtales7514 2 жыл бұрын
I love the way that you explane the subjects in flutter awesome! you are the best ❤
@naimurhasanrwd
@naimurhasanrwd 2 жыл бұрын
Thanks, you always make good tutorials with best time utilising.
@riteshkumartiwari153
@riteshkumartiwari153 2 жыл бұрын
Best Explanation
@Sarah-py7qf
@Sarah-py7qf Жыл бұрын
Thank you soooo much!!! Your explanation is exactly what I was looking for. Awesome!!
@HeyFlutter
@HeyFlutter Жыл бұрын
You’re most welcome, Sarah! 🙂
@amimulihsan5354
@amimulihsan5354 2 жыл бұрын
Great explanation
@adelaskri6347
@adelaskri6347 2 жыл бұрын
Amazing, i was just looking for a way to initialize the variable as late modifier !
@Klausi-uq4xq
@Klausi-uq4xq 2 жыл бұрын
Nice! was a hard work to convert mostly everything of our apps to null safety.. but im feel fine with the force to check everything again and again against null.. better just an empty Container than a red Exception
@emadharazi5044
@emadharazi5044 2 жыл бұрын
Giving it to us straight. Love it!!
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thank you, Emad Harazi! 🙂
@dhiaeddineabdelli4296
@dhiaeddineabdelli4296 2 жыл бұрын
simple and clear. Good job
@nikhilkukreja8498
@nikhilkukreja8498 2 жыл бұрын
Brilliant Johannes ❤️❤️
@iBagnara
@iBagnara 2 жыл бұрын
this video save my time a LOOOOOOT
@uditmishra5583
@uditmishra5583 2 жыл бұрын
great explanation!!!!!👍
@ezeaguprincewill7005
@ezeaguprincewill7005 2 жыл бұрын
Just went I needed it
@AdamsProgrammer
@AdamsProgrammer 2 жыл бұрын
Thank you. Find it hard to understand
@rv9570
@rv9570 2 жыл бұрын
Awesome. You are genius man.
@ProfullowDream
@ProfullowDream 2 жыл бұрын
Hello sir... Can you make Firebases tutorial series...I need deep knowledge
@muhamadahmad9096
@muhamadahmad9096 Жыл бұрын
Very helpful thank you!!
@HeyFlutter
@HeyFlutter Жыл бұрын
You are welcome, @muhamadahmad9096!
@abderrazzakzahir168
@abderrazzakzahir168 2 жыл бұрын
Thanks
@InsanJdev
@InsanJdev 2 жыл бұрын
That's an awesome one. Are you done any videos about classes in flutter or will?
@Amine0027
@Amine0027 2 жыл бұрын
I think we can also use toString() method to change a String? to String type
@zabinoori49
@zabinoori49 Жыл бұрын
Best video bro thanks a world 😍
@HeyFlutter
@HeyFlutter Жыл бұрын
You’re most welcome, Zabi Noori! 🙂
@vijaygovinda719
@vijaygovinda719 2 жыл бұрын
Can you make a series on Provider
@AsifKhan-il9gm
@AsifKhan-il9gm 2 жыл бұрын
Hi, please make video on flutter_bloc
@khalilaljamal5146
@khalilaljamal5146 2 жыл бұрын
You are my hero Milke , can I use your videos to translate to Arabic language
@Anythiny
@Anythiny 2 жыл бұрын
null safety in nutshell ..............awesome please help me in understanding complex json i m stuck
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Thanks for the idea, 062_Vivek Pandey! 🙂 I have added it to my list of ideas for future videos!
@SamadKanton
@SamadKanton 2 жыл бұрын
Great content dude! But wait, is it worth while to develop a web app using flutter dart? Tried it but it seems to be very slow in compiling or running.
@santiago4773
@santiago4773 2 жыл бұрын
you are amazing
@omkarp9943
@omkarp9943 Жыл бұрын
You got a one sub!!🥳❤
@HeyFlutter
@HeyFlutter Жыл бұрын
Great, Thank you @omkarp9943!
@abderrazakkenniche4995
@abderrazakkenniche4995 2 жыл бұрын
Huge thanks for this tutorial, it is amazing as you are. I just have a problem and I always look for the solution without a result When I use SharedPreferences or SQFLite connections, I must use late keyword and assign my variables inside the initState, though because those connections are asynchronous, I always get late initialization error and this crashes my app. Hope you can help me dude
@braafaisal2258
@braafaisal2258 2 жыл бұрын
Exception has occurred. LateError (LateInitializationError: Field 'timerr' has not been initialized.)
@mobihen
@mobihen 2 жыл бұрын
Can you please share you theme name? Or recommend a dark theme? Great as always!!!
@mobihen
@mobihen 2 жыл бұрын
@@HeyFlutter In the video, you’re using vs code with some kind of a dark theme. Can you say which one is it?
@derschmeidt2224
@derschmeidt2224 Жыл бұрын
As I understand so far "late" is a promise that it will be initialized. In which case should I use it? Isn't ? always the better option? What happens if the promise "late" is not initialized later? you said it will be crashed the app. But at which time? Maybe it takes a second to get the asynchronous call for a variable from a server or something. When will it crash if the variable is not there?
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, @derschmeidt2224 🙂 please refer using "late" only when you are sure enough that your variable is going to be initialized later on eg. TabController that can be initialized only in init() method. But if you are using late for data coming from server, local or shared pref then it will not be a good choice
@derschmeidt2224
@derschmeidt2224 Жыл бұрын
@@HeyFlutter thanks a lot.
@youtube.com-handle
@youtube.com-handle 2 жыл бұрын
me: hey listview, catch... throws a late list into the ListView items ListView: hey, they might be null me: yes, maybe, maybe not here ?? [ ] ListView: alright, you are the boss User: why is there an empty list over here?
@fuhovu2225
@fuhovu2225 2 жыл бұрын
null safety sinh ra để làm j đấy các bác, mấy ngôn ngữ khác có thể loại này đâu
@sarathrkrishnan6610
@sarathrkrishnan6610 2 жыл бұрын
❤️
@davidagyakwa288
@davidagyakwa288 2 жыл бұрын
what about ?=
@gormonleguetteur6935
@gormonleguetteur6935 2 жыл бұрын
❤❤❤
@ArjunSinghh
@ArjunSinghh 2 жыл бұрын
¿¿ this is not working on objects like Model.data.value??" " throw eror This is not working when you now it is string
@muafaa
@muafaa Жыл бұрын
still confused null on empty List
@HeyFlutter
@HeyFlutter Жыл бұрын
Hey, Muafa R 🙂 may I help with your confusion, please share
@cavidanbagiri7837
@cavidanbagiri7837 2 жыл бұрын
First like ))
2 жыл бұрын
Not sure why they added this to flutter. it's annoying af.
@kid_rz
@kid_rz 2 жыл бұрын
What means this code. if(!isLoggedIn) { //todo }
@muhammadtalharana2532
@muhammadtalharana2532 2 жыл бұрын
This is amazing! so simple but explains it so well! You just saved me loads of reading and research! Thank you
@HeyFlutter
@HeyFlutter 2 жыл бұрын
Glad I could be of help, Thank you Muhammad Talha Rana! 😊
Flutter Null Safety (!, ?, ??, late, ...)
3:07
HeyFlutter․com
Рет қаралды 17 М.
Flutter ClipPath (Bezier Curves)
2:00
HeyFlutter․com
Рет қаралды 44 М.
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 55 МЛН
МЕБЕЛЬ ВЫДАСТ СОТРУДНИКАМ ПОЛИЦИИ ТАБЕЛЬНУЮ МЕБЕЛЬ
00:20
АЗАРТНИК 4 |СЕЗОН 3 Серия
30:50
Inter Production
Рет қаралды 862 М.
So Cute 🥰
00:17
dednahype
Рет қаралды 50 МЛН
👨🏽‍💻 Dart Null Safety (Simple)
14:24
Mitch Koko
Рет қаралды 11 М.
Learn to use Isolates in Flutter | Simplified
10:28
CodeX
Рет қаралды 27 М.
Top 10 Flutter Widgets (for Responsive Layouts)
13:17
HeyFlutter․com
Рет қаралды 72 М.
Null safety in Dart - Introduction
5:27
Flutter
Рет қаралды 163 М.
the TRUTH about C++ (is it worth your time?)
3:17
Low Level Learning
Рет қаралды 700 М.
Why null safety? | Session
15:14
Flutter
Рет қаралды 38 М.
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 555 М.
Go in 100 Seconds
2:30
Fireship
Рет қаралды 1,6 МЛН
Flutter: Null Aware Operators (?., ??, ??=, ...?)
1:27
HeyFlutter․com
Рет қаралды 14 М.
He bought this so I can drive too🥹😭 #tiktok #elsarca
00:22
Elsa Arca
Рет қаралды 55 МЛН