Flutter Tutorial for Beginners #29 - Error Handling

preview_player
Показать описание
Hey gang, in this Flutter tutorial for Beginners, I'll explain how to handle errors from our API call.
----------------------------------------

🐱‍💻 🐱‍💻 Course Links:

🐱‍💻 🐱‍💻 Other Related Courses:

Рекомендации по теме
Комментарии
Автор

Love your tutorials, always well explained

Frankslaboratory
Автор

Thank you, master! Can't wait for the next videos

WolfenIM
Автор

Nice, ninja style of try catch blocks !

ProgrammingwithPeter
Автор

Thanks alot. It's the best tutorial for flutter beginners.

masoudbadremiran
Автор

Great tutorials, thank you for this :)

Question: Why didn’t you just try/catch the request, because this is the most important part? And you would exactly know what is not working. The map error is not that obvious, at least to a beginner :)

Doesel
Автор

I see your GraphQL videos that was great but a bit outdated in apollo-client section could you please create another series on GraphQL thanks

farshid
Автор

I wish I could put more that one like thanks very much for your kind effort

ahmedbishree
Автор

I am so amazed with your videos courses.
Can you please give course using flutter with mysql?

mhdzaheralkatsha
Автор

Super video brother, Thanks for this video.

krishnakumarramachandran
Автор

i just wonder what happen if status return not success (status != 200). So how we handle it and show the message error?

huydo
Автор

i am building the alarm app an facing issue in getting notification i am trying it on physical device but alarm does not ring when time matches can u help me with that

hasnatakbar
Автор

at 03:54 ...
Don't we have to use this.time = ... (in case of just time = ...) on lines 32 and 36 ?

johnnydriesen
Автор

Now flutter is updated, so we do not need this extra
Print('could not get time data');

huzaifak_
Автор

Is this the correct way to catch the API error.
Or Probably you should have printed the error object getting from the API.

ashishmishra
Автор

Should I, as a flutter developer, use try&catch blocks everywhere that an error can happen?

furkanakcakaya
Автор

These errors are coming PLEASE HELP MEEE---
Non-nullable instance field 'time' must be initialized.
The parameter 'location' can't have a value of 'null' because of its type, but the implicit default value is 'null'.
The parameter 'flag' can't have a value of 'null' because of its type, but the implicit default value is 'null'.
The parameter 'url' can't have a value of 'null' because of its type, but the implicit default value is 'null'.

someone
Автор

setState() method not update the data after response any guidance for this sir please

upgenicsintwork
Автор

try and catch throws an error on the IDE. How do I resolve?

nnamdielege
Автор

Flutter automatically throws an exception now!

nosliw
Автор

I got an error in my flutter program using the whenever I use my slider
It says invalid double

gokulkrishna
join shbcf.ru