Flutter Tutorial for Beginners #29 - Error Handling

Flutter Tutorial for Beginners #29 - Error Handling

Net Ninja

5 лет назад

143,354 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ProgrammingwithPeter
@ProgrammingwithPeter - 19.09.2019 11:00

Nice, ninja style of try catch blocks !

Ответить
@farshid3550
@farshid3550 - 19.09.2019 13:17

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

Ответить
@WolfenIM
@WolfenIM - 20.09.2019 11:37

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

Ответить
@Frankslaboratory
@Frankslaboratory - 20.09.2019 16:12

Love your tutorials, always well explained

Ответить
@mhdzaheralkatsha4090
@mhdzaheralkatsha4090 - 20.09.2019 16:46

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

Ответить
@ashishmishra19955
@ashishmishra19955 - 05.01.2020 21:08

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

Ответить
@Doesel360
@Doesel360 - 25.01.2020 04:17

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 :)

Ответить
@krishnakumarramachandran5888
@krishnakumarramachandran5888 - 16.03.2020 10:46

Super video brother, Thanks for this video.

Ответить
@DanaKurdi
@DanaKurdi - 28.04.2020 09:12

Thank You !

Ответить
@Wolf-fw4qu
@Wolf-fw4qu - 28.04.2020 21:22

Error: Entrypoint doesn't contain a main function

Ответить
@user2C47
@user2C47 - 08.06.2020 08:21

If you are getting a substring of instance.time in loading.dart, make sure errors are also handled there. I learned this the hard way after spending 2 hours debugging world_time.dart.

Ответить
@furkanakcakaya9443
@furkanakcakaya9443 - 26.06.2020 20:05

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

Ответить
@harishg3594
@harishg3594 - 19.08.2020 17:18

you are awesome

Ответить
@harishg3594
@harishg3594 - 19.08.2020 17:19

you are awesome

Ответить
@gokulkrishna8514
@gokulkrishna8514 - 24.08.2020 07:08

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

Ответить
@TheBitz23
@TheBitz23 - 23.10.2020 11:34

It doesn't show the catch message pls help me

Ответить
@huydo2707
@huydo2707 - 30.10.2020 10:56

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

Ответить
@nnamdielege8478
@nnamdielege8478 - 18.11.2020 21:59

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

Ответить
@nehalazhar6099
@nehalazhar6099 - 27.01.2021 18:28

Hi I cannot see the console in the Run window can anyone please help? I am Using Android studio 4.1.0

Ответить
@Abhi-ng3re
@Abhi-ng3re - 18.02.2021 06:54

Red screen of death lmao haha

Ответить
@masoudbadremiran3657
@masoudbadremiran3657 - 30.03.2021 17:38

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

Ответить
@maxsibsjnr
@maxsibsjnr - 24.05.2021 13:59

What is invalid depfile😭😭

Ответить
@upgenicsintwork9372
@upgenicsintwork9372 - 14.06.2021 14:52

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

Ответить
@someone827
@someone827 - 09.08.2021 11:13

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'.

Ответить
@huzaifak_08
@huzaifak_08 - 11.08.2021 14:53

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

Ответить
@auwalaliyu174
@auwalaliyu174 - 19.09.2021 05:28

Well explained :) Thanks
However, am stuck with this error => I/flutter ( 5673): caught error: SocketException: Failed host lookup: 'worldtimeapi.org' (OS Error: No address associated with hostname, errno = 7)

Ответить
@nosliw9911
@nosliw9911 - 12.06.2022 00:05

Flutter automatically throws an exception now!

Ответить
@abdurashid_dev
@abdurashid_dev - 24.09.2023 11:38

I'm watching from 2023

Ответить
@baha_ospanov
@baha_ospanov - 28.02.2024 12:57

watching this in 2024

Ответить
@hasnatakbar0170
@hasnatakbar0170 - 12.08.2024 15:00

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

Ответить
@ahmedbishree9429
@ahmedbishree9429 - 26.08.2024 20:59

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

Ответить