Display Data From a JSON in Flutter

  Рет қаралды 124,802

Programming Addict

Programming Addict

Күн бұрын

►SUBSCRIBE TO THE CHANNEL◄
►FOR ANY QUESTIONS CONTACT ME AT◄
programmingaddictyt@gmail.com

Пікірлер: 105
@eboatwright_
@eboatwright_ Жыл бұрын
This video is old, but this helped me so I'll comment anyway. Very straight to the point and helpful! Thanks
@clavesi
@clavesi 4 жыл бұрын
Thank you so much! I've gone through like a few dozen tutorials over this and this was the only one that I could get working.
@danunderhill
@danunderhill 4 жыл бұрын
Interesting tutorial, but presented way too fast with your edits. Could be explained much better if you slowed down a little bit.
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
Thanks for your feedback
@whatyoutubeviewerswant2628
@whatyoutubeviewerswant2628 3 жыл бұрын
That's true He rushed the tutorials
@pratikthorat3480
@pratikthorat3480 2 жыл бұрын
I noticed it as well but I just slowed down the video. That helped me
@asimreyazuddin3494
@asimreyazuddin3494 4 ай бұрын
@@whatyoutubeviewerswant2628 Its true, I was the tutorial
@faizanhaider4186
@faizanhaider4186 2 жыл бұрын
Thank you so much! Appreciate your hard work. Just an advice though - try adding the source code or a link to the source code in the video description. It is really helpful to see all the code in one place after having gone through the video once. Keep up the good work !
@suyashekhande1900
@suyashekhande1900 4 жыл бұрын
I liked your pace of teaching!!
@cemmer1295
@cemmer1295 2 жыл бұрын
Fast and understandable, dont know others but I really liked it.
@mrpakravian
@mrpakravian 5 жыл бұрын
Nice explanation Can you make some more Adressing reading from complex json And writing back Just a full fledge one Thanks
@ProgrammingAddict
@ProgrammingAddict 5 жыл бұрын
I probably will! Thanks for your feedback 😀
@box8eight
@box8eight 3 жыл бұрын
Super tutorial, not really too fast but much better you had given a link to download the code example
@user-sq5xv6dr1v
@user-sq5xv6dr1v 3 жыл бұрын
Short and clear.
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
I'm glad you understood the video!
@ENYO200915
@ENYO200915 4 жыл бұрын
I liked so much. Congratulations.
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
Thanks a lot!
@opadaibra1597
@opadaibra1597 2 жыл бұрын
thank you very much, I really liked it. but i have one question is what i have to do if i want to update list of note, i meant how to clear list directly and get data again after delete
@daniyara8879
@daniyara8879 4 жыл бұрын
I like how fast you are. Awesome tutorial!
@michaelessiet5172
@michaelessiet5172 3 жыл бұрын
this video saved me. Thanks men
@sheetalguptatheflutterdeve5926
@sheetalguptatheflutterdeve5926 4 жыл бұрын
Thank you so much it really helpful to me!!
@nourberakdar3809
@nourberakdar3809 2 жыл бұрын
thank you so much God bless you
@chaitanyapawar5483
@chaitanyapawar5483 Жыл бұрын
Thank you so much
@mahmudurrahmanshovon185
@mahmudurrahmanshovon185 4 жыл бұрын
Thanks so much... This one helped me a lottt!!
@Raufle1
@Raufle1 2 жыл бұрын
I also listen to ' The Way I am ' by Eminem
@jayeshprajapati8203
@jayeshprajapati8203 3 жыл бұрын
Hello. The video is very helpful. I have ome request. Can you make a video with 'dio' package.
@adityapawar8048
@adityapawar8048 3 жыл бұрын
thanks alot for tutorial ❤️ i request to make tutorial on api response fetch in expandable list in flutter
@campuranakun8349
@campuranakun8349 3 жыл бұрын
i'am try to call only 1 data from this tutorial, and give 1 error from debug, its say "RangeError (index): Invalid value: Valid value range " ,than the data show up succesfully. whats would i do if i want to catch only 1 data sir? thanks...
@sofiaconstanzadonoso4689
@sofiaconstanzadonoso4689 2 жыл бұрын
add the value in item_count: list.length
@CSSuccessGamer
@CSSuccessGamer 4 жыл бұрын
Thanks this works!
@chakrasudarsana5579
@chakrasudarsana5579 4 жыл бұрын
Can you say? From a Json in flutter how to display an object part and array of integer part only? For example, { "anObject": { "1" :"Item1", "2" :'Item2" }, "arrayOfObjects": [ { "item": 1 }, { "item": 2 }, { "item": 3 } ], "arrayOfIntegers": [ "1", "2", "3", "4", "5", ] }
@ayazveliyev5840
@ayazveliyev5840 3 жыл бұрын
Thank you. Helped.
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
thanks!
@garygan8804
@garygan8804 2 жыл бұрын
i have a quesiton. how do you get the link for json cause I can't create one
@madi7640
@madi7640 3 жыл бұрын
Hello, class 'List' is deprecated, can you answer what can i use instead
@muhibnoor7603
@muhibnoor7603 2 жыл бұрын
Excellent
@chakrasudarsana5579
@chakrasudarsana5579 4 жыл бұрын
Wonderful part!!!
@PurushottamDike
@PurushottamDike 4 жыл бұрын
thank you very much. can you tell me how to add load more button after 10 entries
@chrisl4211
@chrisl4211 3 жыл бұрын
how about i have a forum, and it have a list of 50K items? can it load like 30 and load another 30 if they scroll down? can you teach how to connect to an vanilla forum? i found from the internet, nothing.
@chipekowasa6571
@chipekowasa6571 2 жыл бұрын
Very nice
@kasturimeh
@kasturimeh 4 жыл бұрын
Hey, I have a doubt. where do you upload these json files? Where did you fetch it from? And can we retrieve images from that json file too?
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
For this video I just uploaded a random json i found to github, link below, but in the real world you'd most likely hit some kind of a rest api. You typically don't get a raw image in a json. Typically you get an image url and then display the image from that url. raw.githubusercontent.com/boriszv/json/master/random_example.json
@kasturimeh
@kasturimeh 4 жыл бұрын
@@ProgrammingAddict I may sound stupid to ask this question, but how do I create this rest api? Some links you might want to suggest ?
@amuchand47
@amuchand47 4 жыл бұрын
@@ProgrammingAddict link not working.
@wickedgummybear3104
@wickedgummybear3104 4 жыл бұрын
@@amuchand47 Link not working indeed...
@safwatboulos6175
@safwatboulos6175 4 жыл бұрын
Jesus man, how do you expect anyone to follow you if you are flying at 500MPH???
@samighasemi3333
@samighasemi3333 3 жыл бұрын
Awesome!
@Etgan_
@Etgan_ 3 жыл бұрын
انت عملت string في map لماذا ما مفروض تكون dynamic
@thorvalld
@thorvalld 5 жыл бұрын
does this work if the JSON file is stored locally in an assets folder ?
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
Yes
@mohidden
@mohidden 4 жыл бұрын
Future loadNoteAsset() async { return await rootBundle.loadString('assets/data.json'); } Future parsePost() async { var posts = List(); String source = await loadNoteAsset(); final parsed = jsonDecode(source); for (var item in parsed) { posts.add(Post.fromJson(item)); } return posts; }
@wickedgummybear3104
@wickedgummybear3104 4 жыл бұрын
@@mohidden thanks man!
@lorencejohnviergarrido5064
@lorencejohnviergarrido5064 4 жыл бұрын
Hi, I just followed what ever on your video tutorial but it seems it doesn't work on me at all, it showing me an error saying 'package:flutter/src/widgets/text.dart': Failed assertion: line 285 pos 10: 'data != null': A non-null String must be provided to a text widget Hope you could help me with this thanks
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
You are passing a null value to your Text widget and that's why you're getting that error, make sure that you initialize the variable you are passing in
@lorencejohnviergarrido5064
@lorencejohnviergarrido5064 4 жыл бұрын
@@ProgrammingAddict where can I find it ?
@CSSuccessGamer
@CSSuccessGamer 4 жыл бұрын
i think it has something to do with the async task loading. You have to wait for it to load the data first. Maybe use a bool to show loading screen when there is no data loaded yet.
@CSSuccessGamer
@CSSuccessGamer 4 жыл бұрын
Future builder widget might help solve this too.
@GameCrawl
@GameCrawl 3 жыл бұрын
what is the full url that you got the json data?
@abdelghanimoumen2524
@abdelghanimoumen2524 Жыл бұрын
perfect
@vak-anton
@vak-anton 3 жыл бұрын
Thank you so much and share a nice tutorials!! But I have some question, there are some error ```Dart Unhandled Exception: type '_InternalLinkedHashMap' is not a subtype of type 'Iterable', stack trace: #0 _MyUserState.fetchUserTest```. Is there any solution I can solve this?? Thank you so much that you take a look my comments
@vak-anton
@vak-anton 3 жыл бұрын
Now I solved this issue To solve this issue make sure you should not use 'Key' value in `Express.js`. -> like `return res.json({'key': rows}); convert to --> `return res.send(rows);
@hanoufal-f2576
@hanoufal-f2576 3 жыл бұрын
I am having the same error, can you please explain more?
@Little_Shivya
@Little_Shivya 5 жыл бұрын
How to add button to get next element of json, ie. One element at a time, next on ontap function.
@durty12
@durty12 4 жыл бұрын
You'd probably have better luck posting this question on StackOverflow
@soleimanrostami
@soleimanrostami 8 ай бұрын
عالی
@7icod
@7icod 4 жыл бұрын
Hello man can you help me!! I'm trying to get two different data then put it in two listview in the same page in flutter
@albertogomes3005
@albertogomes3005 4 жыл бұрын
How to make an authentication request with the Basic Token?
@eng.ahmeddawod352
@eng.ahmeddawod352 4 жыл бұрын
in widget build i can'd using setState !! Why
@agrotis2231
@agrotis2231 3 жыл бұрын
nice tutorial
@chrisl4211
@chrisl4211 3 жыл бұрын
thank you anyway, thank you very much.
@wickedgummybear3104
@wickedgummybear3104 4 жыл бұрын
Would like to see the json file too, if thats not too much trouble
@ahmedakermi
@ahmedakermi 5 жыл бұрын
how to search data from this list of json data
@ProgrammingAddict
@ProgrammingAddict 5 жыл бұрын
I will be making a video on that topic soon 😀
@djihadlifa5808
@djihadlifa5808 3 жыл бұрын
where is the json file to test the code !
@sofiaconstanzadonoso4689
@sofiaconstanzadonoso4689 2 жыл бұрын
MÁQUINA!!!!!!
@ananyagupta8020
@ananyagupta8020 3 жыл бұрын
Can you please provide the code for the same?
@chrt2308
@chrt2308 5 жыл бұрын
Can you please make a tutorial on XML data as well as a response
@ProgrammingAddict
@ProgrammingAddict 5 жыл бұрын
Nice idea. Should be out in a week or so
@feyroozcode
@feyroozcode 5 жыл бұрын
HOW TO SEARCH IN JSON LISTVIEW : kzbin.info/www/bejne/e3nXXoSifLqip7s
@sleepwell169
@sleepwell169 4 жыл бұрын
thank you
@yayaopang1478
@yayaopang1478 3 жыл бұрын
do you have a tutorial how to make that response json into a pdf file sir?
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Check out this package pub.dev/packages/printing
@yayaopang1478
@yayaopang1478 3 жыл бұрын
@@ProgrammingAddict thank you sir, I've seen the advantages of this plugin and I think it's really cool, but I'm still confused about what if I want to view the results of the json then it can be downloaded
@nishanthmolleti188
@nishanthmolleti188 2 жыл бұрын
could you put the link of your code
@safaaal-wajidi4606
@safaaal-wajidi4606 3 жыл бұрын
great! less talk on point.
@ProgrammingAddict
@ProgrammingAddict 3 жыл бұрын
Thanks, I'm glad you liked it!
@pollathajeeva23
@pollathajeeva23 3 жыл бұрын
do you know abt web3dart
@fatihcan7753
@fatihcan7753 4 жыл бұрын
How can i fetch JSON data if it's nested ?
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
I'll make a video on this soon
@fatihcan7753
@fatihcan7753 4 жыл бұрын
@@ProgrammingAddict It would be helpful for my next project but i need to finish what i work in 3 days so can you give me hint ? Would it be easier to fetch it by making it object ?
@whitetiger3987
@whitetiger3987 3 жыл бұрын
çok iyi!!!
@oldmen2544
@oldmen2544 4 жыл бұрын
This is not working with firestore data
@ProgrammingAddict
@ProgrammingAddict 4 жыл бұрын
No it's not
@venkataramachandrarajudhan2870
@venkataramachandrarajudhan2870 3 жыл бұрын
can you comment the JSON URL
@pranaypatil2479
@pranaypatil2479 3 жыл бұрын
helped
@naseerahsan9379
@naseerahsan9379 3 жыл бұрын
where is Json url
@БетелфилдКонтрострайкович
@БетелфилдКонтрострайкович 3 жыл бұрын
Спасибо
@indianpsycho8878
@indianpsycho8878 2 жыл бұрын
Please share the source code on Github.
@burakkizilay0
@burakkizilay0 3 жыл бұрын
can you share the codes ?
@electronicheartbreak.
@electronicheartbreak. 4 жыл бұрын
by copy-pasting you made your video a billion time more worse. nice.
@fozlerabbi2930
@fozlerabbi2930 3 жыл бұрын
It's a too fast approach to teach someone.
@jegakulathilagapillai4507
@jegakulathilagapillai4507 4 жыл бұрын
Nice tutorial, yes too fast!!
@funprograms2661
@funprograms2661 3 жыл бұрын
skipped a lot and got me lost.
@llama7206
@llama7206 3 жыл бұрын
pretty bad
How to read local json file in flutter & show json data in listview builder
20:06
REST API with GetX | Flutter tutorial | Shopping app
26:43
Brawl Stars Edit😈📕
00:15
Kan Andrey
Рет қаралды 47 МЛН
Самое неинтересное видео
00:32
Miracle
Рет қаралды 2,7 МЛН
escape in roblox in real life
00:13
Kan Andrey
Рет қаралды 74 МЛН
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Get data from Api in flutter - HTTP Requests in flutter
15:00
Flutter With Me
Рет қаралды 137 М.
Complex Animations in Flutter using Rive | Flare
15:44
FilledStacks
Рет қаралды 225 М.
Expo in 100 Seconds
2:39
Fireship
Рет қаралды 577 М.
Converting JSON to Dart Classes
13:03
Bleyl Dev
Рет қаралды 22 М.
API Integration in flutter | Fetching data from API | Flutter Tutorial
23:23
Flutter Basic Training - 12 Minute Bootcamp
12:09
Fireship
Рет қаралды 905 М.