Part - 7 | Flutter Get API call with Null Safety | Building List with JSON Data using Future Builder

  Рет қаралды 76,370

The Tech Brothers

The Tech Brothers

Күн бұрын

Пікірлер: 311
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
source code: github.com/axiftaj/Flutter-Rest-Api-Tutorials-With-Example do give a start if you it helped.
@azeemhussain1109
@azeemhussain1109 2 жыл бұрын
already given you star and shared with friends, wish you, to get more stars. amazing tutorials series
@muhammadhassan4289
@muhammadhassan4289 Жыл бұрын
for those people who are facing issue in map function in for loop, map function is a little bit modified so here is the code that u have to copy paste for (Map i in data) { postList.add(PostsModel.fromJson(i)); }
@thetechbrotherss
@thetechbrotherss Жыл бұрын
It's not necessary , it will work the way i taught them but most of the student didn't follow carefully that's why they faced isssues
@noumaniqbal4965
@noumaniqbal4965 Жыл бұрын
Yes you are right. I face this problem for one whole day.
@noumaniqbal4965
@noumaniqbal4965 Жыл бұрын
@@thetechbrotherss Sir he says right.
@sufyantalib8289
@sufyantalib8289 Жыл бұрын
Thanks for helping
@shahzadwarraich2911
@shahzadwarraich2911 Жыл бұрын
I was also facing that issue thanks for sharing
@cs_010_adityaverma2
@cs_010_adityaverma2 Жыл бұрын
struggling from past 4 days with APIs integration now finally understand it very well ........love from INDIA sir
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@CoderUmar-hw6ef
@CoderUmar-hw6ef 3 ай бұрын
Appreciate your Sophistication of HardWork for Public 😍
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
Thank you so much 😀
@vishnuprajapati89
@vishnuprajapati89 2 жыл бұрын
Dhanyawad bro. Yadi apke jese guru ho sikhane ko to kisi ko koi doubt nahi rahega and again thanks bro...❤️
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you subscribe kr dain share kr dain doston k sath
@AmeerHamza-vd9sb
@AmeerHamza-vd9sb Жыл бұрын
1st time I feel like APi's are easy to integrate ❤️ big respect for you!
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@krutidewda3152
@krutidewda3152 Жыл бұрын
You deserve millions of subscriber sirr, jus t love how you explained APIs so easily, I was finding it difficult to understand from a very long time
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share with your friends
@sumitkumar-jn8he
@sumitkumar-jn8he 3 жыл бұрын
Sir one by one tut dekha bhaut ache se apne explained kiya hai. Eager for next continue tut video post.
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Hopefully we will cover this series this week.
@praveensuthar3036
@praveensuthar3036 2 жыл бұрын
Thanks you sir muje bohot kuch sikhne ko mila muje bohot problem hoti jab api call karta tha par ab muje dout clear hogye Thanks
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Great it helped, do subscribe, like the video and share it with your friends.
@syedshabbarraza6384
@syedshabbarraza6384 3 ай бұрын
JAZAKAllah sir aaj bhi aap ki waja sy kuch new sekhny ko mila
@thetechbrotherss
@thetechbrotherss 3 ай бұрын
glad to hear this
@codeWithSanny
@codeWithSanny Жыл бұрын
The explanation was awosome. I would never need to ask Google for the materials you have covered in the lecture... Love from Flutter Interns : )
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Thank you sir
@sanjaypatidar7605
@sanjaypatidar7605 2 жыл бұрын
sir proper smj aaya best tutorial sir ji👍👍😊 i'm from india ❤
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
mazy kro
@Himanshu_Explore
@Himanshu_Explore 2 жыл бұрын
Wow sir thankyou so much fir this! I need this kind of tutorial thankyou sir 🙂love from india💌
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you pleas share with your friends
@happycoding7079
@happycoding7079 2 жыл бұрын
Thanks, Buddy finally Caught all the concepts till here IDK why but I took 5 retakes then I got it
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
hahahahhah this is experience, support me on insta: instagram.com/thetechbrotherss/
@muhammadhanif1636
@muhammadhanif1636 2 жыл бұрын
best tutorial I have seen in youtube
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you
@starkstreak5583
@starkstreak5583 2 жыл бұрын
very nice and easy explanation sir
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you do share with your friends
@nouman1213
@nouman1213 3 жыл бұрын
explained very well... wait for next video
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Will upload very soon. Hopefully will complete this series this week.
@ramzanch4055
@ramzanch4055 2 жыл бұрын
Bro v nice keep it up i follow your play list and learn a lot about api and abele to integrate api in my freelance projects.
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad to hear that, so subscribe and share with your friend.
@ramzanch4055
@ramzanch4055 2 жыл бұрын
@@thetechbrotherss sure sir
@kamalmaher9920
@kamalmaher9920 Жыл бұрын
sir when we started the loop for (map i in data){ postlist.add(postmodel.formjson(i)); } in this code the i is not working in fromjson code. it through the error and not working.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Check you must he doing something wrong
@ashhadahmed72
@ashhadahmed72 3 ай бұрын
for those people who are facing issue in map function in for loop, map function is a little bit modified so here is the code that u have to copy paste for (Map i in data) { postList.add(PostsModel.fromJson(i)); }
@shivanisoni9803
@shivanisoni9803 2 жыл бұрын
excellent video. very nice explanation
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
thank you do subscribe and share with your friends
@batishqureshi
@batishqureshi 2 жыл бұрын
Amazing video brother! Keep it up!
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you subscribe
@preetiahuja8672
@preetiahuja8672 Жыл бұрын
Crystal Clear explaination.thank you sirr :)
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Go ahead you will love it, make sure to read the description and first comment. Do subscribe and share with your friends
@g4gamer330
@g4gamer330 2 жыл бұрын
salam sir sir ma na ya poucha na tha ka ap na for loop ka bahar q return kar wa ya hai data ku andar bhi tu hu sakhta tha
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Taky data return ho
@inoxentmuqeet6727
@inoxentmuqeet6727 Жыл бұрын
End level 💯
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Subscribe
@Gulfam-b2f
@Gulfam-b2f 6 ай бұрын
very well explained
@thetechbrotherss
@thetechbrotherss 6 ай бұрын
Thanks for liking
@TheHospitalityEmpire
@TheHospitalityEmpire 2 жыл бұрын
The argument type 'Map' can't be assigned to the parameter type 'Map' this erroe showing up when doing step you did at 12:02 min in video
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Error is self explanatory click on this error go to the model and change string to dynamic and please watch video carefully till end.
@rehanhamayun1353
@rehanhamayun1353 2 жыл бұрын
Change the Map to "Map
@amitpersonal6820
@amitpersonal6820 Жыл бұрын
If anyone have error in for loop Use for (map i in data)
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Sahi ho gya to comment ko update kr dain
@demodemo9429
@demodemo9429 2 жыл бұрын
Great explanation sir 👍👍👍
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thank you please share with in your circle.
@allinonewithSnehaa
@allinonewithSnehaa Жыл бұрын
I Love your video great work sir ❤
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Share within your circle
@zoshypermar
@zoshypermar 2 жыл бұрын
Excellent Sir ! Sir tell me command in android studio for wrap with widgets. What command you type for wrap with widgets? Here control+ Enter not working for wrap with widgets
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Btaie ro ha alr + shift
@zoshypermar
@zoshypermar 2 жыл бұрын
@@thetechbrotherss Alt+Enter se huwa thanks Sir..
@tusharprajapati6431
@tusharprajapati6431 2 жыл бұрын
bro love from india
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Glad you liked it bro, do share with your friends.
@tusharprajapati6431
@tusharprajapati6431 2 жыл бұрын
Apko bolne ki zaroorat nhi hai phele hi krdia yeh sab
@tusharprajapati6431
@tusharprajapati6431 2 жыл бұрын
Apki instagram I'd kiya hai ?
@wasimzaman674
@wasimzaman674 Жыл бұрын
Assalam O Alekum..... Jesa k aap ne kaha k agar post API ka jo response hai agar us mai se list yani k array ka naam hota to hamara model achay se ban jaata, kya model ko sahi tarah se banane k liye hum us response ko explicitly change nahi kar saktay ? kya hum is pooray response ko object mai wrap kar k is list ko naam nahi de saktay?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
JSON response backend engineer bnata ha ap usko jaise kahin gy wo set kr dy ga r ap easyly handle kr lain
@ayushmishra8505
@ayushmishra8505 Жыл бұрын
Not working - 14:58 when you print postList length in list view I write exact same code but my phone screen is empty not getting any data in listview. Try everything.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
test api in postman and then follow the process carefully
@ayushmishra8505
@ayushmishra8505 Жыл бұрын
@@thetechbrotherss Already didi it API works well in postman
@sherazkhan_1044
@sherazkhan_1044 2 жыл бұрын
sir Assalam walikom sir mai vscode use kar raha hu mai konsi extension use karu please sir i am stucked off.
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
search json to dart on google
@kirticabhandari623
@kirticabhandari623 2 жыл бұрын
I have a question.. please give me reply. Why we are creating model for JSON? I don't understand, why it is need?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
To parse data and show them on front end
@kirticabhandari623
@kirticabhandari623 2 жыл бұрын
@@thetechbrotherss ok.thanks
@viralcartoon567
@viralcartoon567 2 жыл бұрын
Can you please provide the JSON to dart model convertor extension in visual studio code because I am trying to download different Jason to dart converter it was not workin
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
You can use any online website for JSON to dart converter. I have not used VS code so i don't know.
@binqasimmasood8899
@binqasimmasood8899 2 жыл бұрын
did u solve this error
@hammadahmad7963
@hammadahmad7963 Жыл бұрын
Sir I got error in postList.add(PostModel.fromJson(i)); in (i)
@thetechbrotherss
@thetechbrotherss Жыл бұрын
share the error
@ShahSikander
@ShahSikander 4 ай бұрын
if statment ko execute kr k loading show ho rha screen pr agy move nai kr rha else tk?aysa q ho rha hy ..JsonToDart plugin kamnai krr rr to google pr Json to dart use key ta kya uss wja sy data show nai ho rha yaa kia issue ho skta hy?
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
aise is liye ho raha ha k q k ap check ni kr rahy k error kahan par ha use try and catch
@shahab1479
@shahab1479 2 жыл бұрын
thanks for making this video
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
It's my pleasure
@goodwebdevelopers2582
@goodwebdevelopers2582 2 жыл бұрын
Hi sir Im getting an error, please help for (Map i in data) { postList.add(PostsModel.fromJson(i)); } The i value in line postList.add(PostsModel.fromJson(i)); is giving the following error The argument type 'Map' can't be assigned to the parameter type 'Map'
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
user 'Map as message is self explanatory.
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Go to your model and change it.
@muhammadjavedrafique4592
@muhammadjavedrafique4592 2 жыл бұрын
write for(Map i in data) insted of for(Map i in data)
@asadullah4269
@asadullah4269 Жыл бұрын
@@muhammadjavedrafique4592 brother i used this but now its give me this error for data ( the type string used in for loop must implemnt iterable)
@pushpeshpainuly5526
@pushpeshpainuly5526 Жыл бұрын
bro when i print "i" it throw error 😑
@alihassan5651
@alihassan5651 2 жыл бұрын
Thanks soo much for this
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
subscribe and share with you friends
@Mohsin_Chaudary
@Mohsin_Chaudary 2 ай бұрын
Sir using this methos app runs smmoth on emulator and show response but on physical device it gives error after giving internet acces in .xml file and building apk it it showing blank screen
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
it means ap k parent widget ma issues ha, use expanded and write place
@gamesden8021
@gamesden8021 Жыл бұрын
sir please yeah answer kardain ky for(map i in data) yeah ju likhna hai woh list ma jason ky object ko add karna ky liya likha hai na or yeah map kuhn use kiya hai plz
@thetechbrotherss
@thetechbrotherss Жыл бұрын
g
@SarimAli-k7g
@SarimAli-k7g Жыл бұрын
so hamein pehle api se model nikalna hoga postman se, and than usko convert krna hoga?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
g
@sk10120
@sk10120 Жыл бұрын
can you please explain the use of postList.clear() that you added ?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
It clear the data to avoid duplicating the data
@azcreativemedia7118
@azcreativemedia7118 Жыл бұрын
Can't get output of api integrarion in chrome?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
yes
@anasmalix8593
@anasmalix8593 2 жыл бұрын
why i am not familiar with this code i think i am missing some pre-requisite for this code to understand i cant understand this syntax
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Start from first video
@S4eedKhan
@S4eedKhan 2 ай бұрын
Asalam u Alaikum Respected Sir, in line 24 where you use for loop for(Map I in data){ postList.add(myModel.fromJson(i)); is not working for me with the help of gemini I got this code which is working correctly postList = (data as List).map((i) => myModel.fromJson(i)).toList();
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
nice
@S4eedKhan
@S4eedKhan 2 ай бұрын
@@thetechbrotherss Thanks Sir, Looking forward to meet you someday'' Yesterday a friend told me that I usually see Asif Taj in IT Park Peshawar,donno if its true or not
@priyamohod1510
@priyamohod1510 Жыл бұрын
hello, I am not able to select that option new file Json to dart, how to solve this?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Watch part 5 and 6 to create models for api
@FantasyChannelShuvo
@FantasyChannelShuvo 2 жыл бұрын
Nice video....
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Thanks, do subscribe and share within your friend circle.
@FantasyChannelShuvo
@FantasyChannelShuvo 2 жыл бұрын
@@thetechbrotherss i have already done..sir will u plz make this video....?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Bro i have already provided your the content you need to learn how to utilise things according to your requirements based on concepts you have learn. This is actual development.
@virtalHospital
@virtalHospital Жыл бұрын
sir jab ma postmodel ki file bna raha hn to mera pas 4 files create ho rahi hain,, 1 address.dart 2 company.dart 3 geo.dart aur json place holder sa data copy kia ha and same data ha array sa start ha
@thetechbrotherss
@thetechbrotherss Жыл бұрын
ap extra parameter select kr rahy ho
@virtalHospital
@virtalHospital Жыл бұрын
@@thetechbrotherss Thank sir.
@meenakshibhasin9456
@meenakshibhasin9456 Жыл бұрын
Hi, thanks for the video. I have issue. when i am trying to display the id and userid. it is showing error. Can you please explain how to do that
@thetechbrotherss
@thetechbrotherss Жыл бұрын
share the error please always
@meenakshibhasin9456
@meenakshibhasin9456 Жыл бұрын
@@thetechbrotherss it was resolved thank you.
@hammadahmad7963
@hammadahmad7963 Жыл бұрын
The argument type 'Map' can't be assigned to the parameter type 'Map'.dart
@thetechbrotherss
@thetechbrotherss Жыл бұрын
It's clear, go the model and change string to dynamic
@hammadahmad7963
@hammadahmad7963 Жыл бұрын
@@thetechbrotherss thanks ho gya he
@AmeerHamza-vd9sb
@AmeerHamza-vd9sb Жыл бұрын
@@hammadahmad7963 bro can you tell me how you did this, mera nahi ho rha asy
@AmeerHamza-vd9sb
@AmeerHamza-vd9sb Жыл бұрын
ho gyaaaa.....
@hfurqan980
@hfurqan980 9 ай бұрын
sir why we use snapshot in the future builder widget
@thetechbrotherss
@thetechbrotherss 9 ай бұрын
this is just a name you can use any name, it returns different states
@basitfaizan7928
@basitfaizan7928 11 ай бұрын
Sir I wants to make Netflix clone app with authentication features using firebase and I will use apis to get movies so the problem here is that how should I make my folder structure so that it looks professional
@thetechbrotherss
@thetechbrotherss 11 ай бұрын
check my clean code playlist
@taimoormanzoor7386
@taimoormanzoor7386 2 жыл бұрын
Sir can tell me what the difference between if I use that "AsyncSnapshot snapshot" or only "snapshot"?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
List is returning list data in async you can define whatever the data type returning it could be bool, i suggest you watch my widget of the week series for better understanding of future and stream builder with snapshot. do subscribe and share with your friends. support me on insta: instagram.com/thetechbrotherss/
@ABHISINGH-ty7ln
@ABHISINGH-ty7ln 10 ай бұрын
Sir i got error when i create class name PostsModel it's not show posts-model.dart
@thetechbrotherss
@thetechbrotherss 10 ай бұрын
Please follow carefully 🥲
@nardrev5437
@nardrev5437 Жыл бұрын
how to pass a query when i log in and the id from that login will go to the url?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I didn't understand your question
@HrithikRajput-o6b
@HrithikRajput-o6b 10 ай бұрын
should i call async func inside build
@thetechbrotherss
@thetechbrotherss 10 ай бұрын
you can using future widgets
@md.abulmoshadchowdhury1646
@md.abulmoshadchowdhury1646 Жыл бұрын
Hello brother! everything is fine but i don't understand the line object.fromJson/toJson ? what is the functinality of these two functions ? if u would discuss then would be more helpful for me!
@thetechbrotherss
@thetechbrotherss Жыл бұрын
it map the values if you change the parameter name in model you will null values
@hauntednightshindi
@hauntednightshindi 2 жыл бұрын
hello brother please help me with this ---------- The name 'PostsModel' isn't a type so it can't be used as a type argument.-------- I am getting this error but you are not
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
watch video carefully
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
you are doing something wrong
@asimreyazuddin3494
@asimreyazuddin3494 5 ай бұрын
11:24 I was not able to follow the process there. Could you explain the for loop again?
@thetechbrotherss
@thetechbrotherss 5 ай бұрын
These are type of loops, we are looping on data
@hashimjahangir9427
@hashimjahangir9427 2 жыл бұрын
hey brother the api response returns null. any solution
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
check api again and test it in postman.
@kmailabbas5000
@kmailabbas5000 2 жыл бұрын
sir sime aap jaisa code kia hai likin screen per Text k ilawa kuch or show nahi ho raha
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ap ny kuch mistake ki hogi double check it
@wardaamjad
@wardaamjad Жыл бұрын
Is it necessary to create Live REST API's to integrate them with flutter?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
You must know to integrate apis with flutter
@mohdzaid-3430
@mohdzaid-3430 Жыл бұрын
i dint get the API only loading is showing at top of the screen so plzz help
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please print snapshots, test api in postman
@The_Suraj_Khot
@The_Suraj_Khot 7 ай бұрын
tnx bro..
@thetechbrotherss
@thetechbrotherss 7 ай бұрын
do share with your friend
@AliButt-fk7oz
@AliButt-fk7oz Жыл бұрын
brother snaps hot data hasData is true but kuch b show hii ho rha?? na title na id
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Data parse ni ho raha hoga na
@hemant2406
@hemant2406 Жыл бұрын
Sir mera code run hogya h pr mujhe steps yaad nhi rehti h...mujhe prior knowledge nhi h programming ki dart hi first language h jo me sikh rha hu...plz guide what i have to do
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Bhai muje bhi yad ni rehta, ap concepts clear kro
@hassanalivlogger
@hassanalivlogger 2 жыл бұрын
nice
@FantasyChannelShuvo
@FantasyChannelShuvo 2 жыл бұрын
Give me same project done with expansion list with builder and data from local json file... Plz....sir reply......
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Please watched my video on expansion list and then part 10 of this video series. You will get your answers. And yes i reply to every comment and feel free to contact via social media platform.
@FantasyChannelShuvo
@FantasyChannelShuvo 2 жыл бұрын
@@thetechbrotherss give ur fb contact....
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
See description In part 10 just place the the code of my expansion tile video into your if block snapshot.has and see the magic.
@harshitagrawal6334
@harshitagrawal6334 9 ай бұрын
what is the purpose of postList.clear().
@thetechbrotherss
@thetechbrotherss 9 ай бұрын
to clear the list before adding the data into list to avoid duplication
@Arbic_calligraphy65
@Arbic_calligraphy65 Жыл бұрын
nice sir
@thetechbrotherss
@thetechbrotherss Жыл бұрын
thank you
@fawadahmed2306
@fawadahmed2306 2 жыл бұрын
sir kindly also explain the model .from json, tojson,encoe,decode,etc..
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
already explained
@fawadahmed2306
@fawadahmed2306 2 жыл бұрын
@@thetechbrotherss can u please share yhe video link
@dushyantsharma2415
@dushyantsharma2415 Жыл бұрын
yeh error sy pareshan hu kya kru _TypeError (type '_InternalLinkedHashMap' is not a subtype of type 'Iterable')
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please follow the video carefully it's not list
@muneebullah427
@muneebullah427 Жыл бұрын
why we crate model plz explain
@thetechbrotherss
@thetechbrotherss Жыл бұрын
to parse value to ui by maping data
@muhammadraheel2721
@muhammadraheel2721 11 ай бұрын
Sir g humna jo i use kiya ha wo tu kahi declear ni krwaya tu wo kesy use ho gya
@thetechbrotherss
@thetechbrotherss 11 ай бұрын
Bhai loop ha na
@theinfluencer940
@theinfluencer940 Жыл бұрын
19:28 pr custom list jo banai hai us ko clear ku karty hain? can someone expalin reason behind it.
@thetechbrotherss
@thetechbrotherss Жыл бұрын
taky api hit ho to data replicate na ho
@shashidharchinna1203
@shashidharchinna1203 Жыл бұрын
am getting error at homescreen page, Map i in data=> in getting error
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please watch video carefully, understand the concepts and fix it. You must be doing something wrong
@zahrachoksi6571
@zahrachoksi6571 2 ай бұрын
Hello maine same code likha hai phir bhi loading ... Hii show hota hai what is the reason behind this ???
@thetechbrotherss
@thetechbrotherss 2 ай бұрын
use try catch to catch the error
@educationforever314
@educationforever314 29 күн бұрын
I skipped the ! operator in the following code. Check if you made the same mistake. if (!snapshot.hasData) { return const Text('loading');
@user-Rania-n7m
@user-Rania-n7m 9 ай бұрын
sir, you have shown only 3 screens in this video, but there are lot of screens in the source code.
@thetechbrotherss
@thetechbrotherss 9 ай бұрын
it's a complete playlist
@user-Rania-n7m
@user-Rania-n7m 9 ай бұрын
@@thetechbrotherss oops! sorry. I didn't notice. Thankyou sir
@noumanrafiq4409
@noumanrafiq4409 Жыл бұрын
Sir, how to create your own api(i mean real API) ? is there any specific platform for it...
@thetechbrotherss
@thetechbrotherss Жыл бұрын
use node js
@noumanrafiq4409
@noumanrafiq4409 Жыл бұрын
@@thetechbrotherss thanks
@Kumar2k12
@Kumar2k12 2 жыл бұрын
I am subscribed to utr videos. Please explain How to use JsonToDart using android studio build json model
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
please watch part 5 and 6 i teach how you can do that
@Kumar2k12
@Kumar2k12 2 жыл бұрын
@@thetechbrotherss Yes Thank you for that and I have watched it , but in settings of jsonToDart which to be preffered. It is very canfusing as I have tried it.
@ssagaming4545
@ssagaming4545 2 жыл бұрын
sir this Api code is not working .
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
It’s working bro
@Hisk1496
@Hisk1496 Жыл бұрын
Sir i coded it in android studio and in this code i have no error, when i run it in chrome web it is showing me no data, its showing blank page is there any solution for this issue. How can I run it in Google Chrome as well?
@abdulsaboortech8784
@abdulsaboortech8784 Жыл бұрын
Wrap the futurebuilder with expanded widget
@thetechbrotherss
@thetechbrotherss Жыл бұрын
check for exceptions, add internet permissions
@akhileshgoswami9497
@akhileshgoswami9497 3 жыл бұрын
Osm video
@thetechbrotherss
@thetechbrotherss 3 жыл бұрын
Thank you
@SSAPro
@SSAPro 2 жыл бұрын
This API code is not working
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
It’s working bro check the comments working with everyone
@joymazumder-kr2og
@joymazumder-kr2og 4 ай бұрын
I dont understand , what is null safety ? and how i understand when null safety or not ?
@thetechbrotherss
@thetechbrotherss 4 ай бұрын
null safety means value cannot be null for variable
@022_cse-csdeepakkumarsain7
@022_cse-csdeepakkumarsain7 Жыл бұрын
Sir i think the line 22 code should be inside the if statement starting at line 23
@thetechbrotherss
@thetechbrotherss Жыл бұрын
I don't remember right now but you can learn the procedure and implement it
@iShahzainAhmed
@iShahzainAhmed 2 жыл бұрын
Sir you explained everything very greatly in this video, but I don't know why this entire concept of creating List and FutureBuilder seemed very difficult to me, or maybe I need to watch it multiple times to understand it properly.
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
First time it's always difficult with practice and as you move forward it will be very easy
@iShahzainAhmed
@iShahzainAhmed 2 жыл бұрын
@@thetechbrotherss In Shaa Allah sir I'll try practicing it!
@Songme55
@Songme55 Жыл бұрын
The body might complete normally, causing 'null' to be returned, but the return type, 'Widget', is a potentially non-nullable type. this error is coming
@thetechbrotherss
@thetechbrotherss Жыл бұрын
Please follow the video carefully it say data is coming null
@zenZcoder
@zenZcoder Жыл бұрын
FormatException (FormatException: Unexpected character (at character 1) ^ ) I am getting this error
@thetechbrotherss
@thetechbrotherss Жыл бұрын
i think url is not correct, test the api in postman
@walidkhan5337
@walidkhan5337 2 жыл бұрын
same code no error still API not working?
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Api is working check again you must be flint something wrong
@walidkhan5337
@walidkhan5337 2 жыл бұрын
i think snapshot mai data nahe arha sirf loading show kr raha hai kya karo ab?
@walidkhan5337
@walidkhan5337 2 жыл бұрын
@@thetechbrotherss thank you for your reply and last mai maine apka code pora copy keya still not hit api
@DevrajSingh-kz9ph
@DevrajSingh-kz9ph 2 жыл бұрын
Sir table calendar m api data kase pass kerte hai is pr ak video bna do please sir
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
Ok bro
@IzharBadshah_19
@IzharBadshah_19 Жыл бұрын
Sir apni loop k andher Map q le liya can you explain loop......plz sir
@thetechbrotherss
@thetechbrotherss Жыл бұрын
To map our object in array
@hassamkayani2521
@hassamkayani2521 Жыл бұрын
ya asa ho k ap ki API dynamic ho means bar bar change ho rhi ho to>?
@thetechbrotherss
@thetechbrotherss Жыл бұрын
phr apko streams use krni parhin ge
@hassamkayani2521
@hassamkayani2521 Жыл бұрын
@@thetechbrotherss isma b jub Hum for(Map i in data){ Model.add(PostModel.fromJson(i));//jub isko i assign karty han to kehta hye k Map ki value dain iska koi hall bta dain plz }
@ashikmahmood4018
@ashikmahmood4018 2 жыл бұрын
Boss Please make video about dio...plz
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ok
@nihalpadwal
@nihalpadwal 2 жыл бұрын
what if i have name for my array to tell
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
If your response start with object and then you some array inside that object and those objects have some same name parameter then it won't work. But you can fix this issue manually but this takes time.
@nihalpadwal
@nihalpadwal 2 жыл бұрын
@@thetechbrotherss okay thanks
@medhavisharma1429
@medhavisharma1429 Жыл бұрын
waaah Taj
@thetechbrotherss
@thetechbrotherss Жыл бұрын
thank you
@bobhero7
@bobhero7 2 жыл бұрын
Matlab toh samjhaye ki Aap ne if else and for loop kyu use kiya..
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
sub kuch smjhaya ha bar bar smjhaya ha k kiss condition ma use krna ha kiss ma ni
@thetechbrotherss
@thetechbrotherss 2 жыл бұрын
ap pehle api k structure ko smjho
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 153 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 77 МЛН
PIZZA or CHICKEN // Left or Right Challenge
00:18
Hungry FAM
Рет қаралды 15 МЛН
Увеличили моцареллу для @Lorenzo.bagnati
00:48
Кушать Хочу
Рет қаралды 3,1 МЛН
REST Call with Flutter - Http methods
19:55
CodeX
Рет қаралды 73 М.
How Much Tape To Stop A Lamborghini?
00:15
MrBeast
Рет қаралды 153 МЛН