Це відео не доступне.
Перепрошуємо.

Display Data From a JSON in Flutter

Поділитися
Вставка
  • Опубліковано 31 січ 2019
  • ►SUBSCRIBE TO THE CHANNEL◄
    ►FOR ANY QUESTIONS CONTACT ME AT◄
    programmingaddictyt@gmail.com

КОМЕНТАРІ • 105

  • @clavesi
    @clavesi 4 роки тому +2

    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.

  • @cemmer1295
    @cemmer1295 2 роки тому

    Fast and understandable, dont know others but I really liked it.

  • @eboatwright_
    @eboatwright_ Рік тому +3

    This video is old, but this helped me so I'll comment anyway. Very straight to the point and helpful! Thanks

  • @faizanhaider4186
    @faizanhaider4186 2 роки тому +3

    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 3 роки тому +2

    I liked your pace of teaching!!

  • @box8eight
    @box8eight 3 роки тому +1

    Super tutorial, not really too fast but much better you had given a link to download the code example

  • @michaelessiet5172
    @michaelessiet5172 3 роки тому

    this video saved me. Thanks men

  • @sheetalguptatheflutterdeve5926
    @sheetalguptatheflutterdeve5926 3 роки тому

    Thank you so much it really helpful to me!!

  • @danunderhill
    @danunderhill 4 роки тому +31

    Interesting tutorial, but presented way too fast with your edits. Could be explained much better if you slowed down a little bit.

  • @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

  • @chakrasudarsana5579
    @chakrasudarsana5579 4 роки тому

    Wonderful part!!!

  • @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.

  • @mahmudurrahmanshovon185
    @mahmudurrahmanshovon185 4 роки тому

    Thanks so much... This one helped me a lottt!!

  • @adityapawar8048
    @adityapawar8048 2 роки тому

    thanks alot for tutorial ❤️
    i request to make tutorial on api response fetch in expandable list in flutter

  • @daniyara8879
    @daniyara8879 4 роки тому +1

    I like how fast you are. Awesome tutorial!

  • @albertogomes3005
    @albertogomes3005 4 роки тому

    How to make an authentication request with the Basic Token?

  • @CSSuccessGamer
    @CSSuccessGamer 4 роки тому

    Thanks this works!

  • @GameCrawl
    @GameCrawl 3 роки тому

    what is the full url that you got the json data?

  • @ENYO200915
    @ENYO200915 4 роки тому

    I liked so much. Congratulations.

  • @eng.ahmeddawod352
    @eng.ahmeddawod352 4 роки тому

    in widget build i can'd using setState !! Why

  • @garygan8804
    @garygan8804 2 роки тому

    i have a quesiton. how do you get the link for json cause I can't create one

  • @mrpakravian
    @mrpakravian 5 років тому +2

    Nice explanation
    Can you make some more
    Adressing reading from complex json
    And writing back
    Just a full fledge one
    Thanks

  • @samighasemi3333
    @samighasemi3333 2 роки тому

    Awesome!

  • @madi7640
    @madi7640 3 роки тому

    Hello, class 'List' is deprecated, can you answer what can i use instead

  • @user-sq5xv6dr1v
    @user-sq5xv6dr1v 3 роки тому +1

    Short and clear.

  • @Raufle1
    @Raufle1 2 роки тому

    I also listen to ' The Way I am ' by Eminem

  • @PurushottamDike
    @PurushottamDike 3 роки тому

    thank you very much. can you tell me how to add load more button after 10 entries

  • @wickedgummybear3104
    @wickedgummybear3104 3 роки тому

    Would like to see the json file too, if thats not too much trouble

  • @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

  • @jayeshprajapati8203
    @jayeshprajapati8203 3 роки тому

    Hello. The video is very helpful. I have ome request. Can you make a video with 'dio' package.

  • @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",
    ]
    }

  • @ananyagupta8020
    @ananyagupta8020 3 роки тому

    Can you please provide the code for the same?

  • @chaitanyapawar5483
    @chaitanyapawar5483 Рік тому

    Thank you so much

  • @agrotis2231
    @agrotis2231 3 роки тому

    nice tutorial

  • @nourberakdar3809
    @nourberakdar3809 2 роки тому

    thank you so much
    God bless you

  • @muhibnoor7603
    @muhibnoor7603 2 роки тому

    Excellent

  • @Etgan_
    @Etgan_ 3 роки тому

    انت عملت string في map لماذا ما مفروض تكون dynamic

  • @ayazveliyev5840
    @ayazveliyev5840 3 роки тому

    Thank you. Helped.

  • @djihadlifa5808
    @djihadlifa5808 3 роки тому

    where is the json file to test the code !

  • @thorvalld
    @thorvalld 5 років тому +1

    does this work if the JSON file is stored locally in an assets folder ?

    • @ProgrammingAddict
      @ProgrammingAddict  4 роки тому

      Yes

    • @mohidden
      @mohidden 4 роки тому +3

      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 3 роки тому

      @@mohidden thanks man!

  • @sleepwell169
    @sleepwell169 4 роки тому

    thank you

  • @ssirana
    @ssirana 4 роки тому

    How to add button to get next element of json, ie. One element at a time, next on ontap function.

    • @durty12
      @durty12 4 роки тому +1

      You'd probably have better luck posting this question on StackOverflow

  • @sofiaconstanzadonoso4689
    @sofiaconstanzadonoso4689 2 роки тому

    MÁQUINA!!!!!!

  • @chipekowasa6571
    @chipekowasa6571 2 роки тому

    Very nice

  • @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...

  • @chrisl4211
    @chrisl4211 3 роки тому

    thank you anyway, thank you very much.

  • @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.

  • @whitetiger3987
    @whitetiger3987 3 роки тому

    çok iyi!!!

  • @abdelghanimoumen2524
    @abdelghanimoumen2524 Рік тому

    perfect

  • @venkataramachandrarajudhan2870
    @venkataramachandrarajudhan2870 3 роки тому

    can you comment the JSON URL

  • @pollathajeeva23
    @pollathajeeva23 3 роки тому

    do you know abt web3dart

  • @nishanthmolleti188
    @nishanthmolleti188 2 роки тому

    could you put the link of your code

  • @user-hz6mk7nb4i
    @user-hz6mk7nb4i 3 роки тому

    Спасибо

  • @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?

  • @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 роки тому +2

      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 3 роки тому

      @@amuchand47 Link not working indeed...

  • @chrt2308
    @chrt2308 5 років тому

    Can you please make a tutorial on XML data as well as a response

  • @pranaypatil2479
    @pranaypatil2479 2 роки тому

    helped

  • @ahmedakermi
    @ahmedakermi 5 років тому +1

    how to search data from this list of json data

  • @burakkizilay0
    @burakkizilay0 3 роки тому

    can you share the codes ?

  • @indianpsycho8878
    @indianpsycho8878 2 роки тому

    Please share the source code on Github.

  • @naseerahsan9379
    @naseerahsan9379 3 роки тому

    where is Json url

  • @soleimanrostami
    @soleimanrostami 6 місяців тому

    عالی

  • @safaaal-wajidi4606
    @safaaal-wajidi4606 3 роки тому

    great! less talk on point.

  • @fatihcan7753
    @fatihcan7753 4 роки тому

    How can i fetch JSON data if it's nested ?

    • @ProgrammingAddict
      @ProgrammingAddict  4 роки тому +1

      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 ?

  • @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

  • @safwatboulos6175
    @safwatboulos6175 4 роки тому +1

    Jesus man, how do you expect anyone to follow you if you are flying at 500MPH???

  • @jegakulathilagapillai4507
    @jegakulathilagapillai4507 4 роки тому

    Nice tutorial, yes too fast!!

  • @oldmen2544
    @oldmen2544 4 роки тому

    This is not working with firestore data

  • @fozlerabbi2930
    @fozlerabbi2930 3 роки тому

    It's a too fast approach to teach someone.

  • @feyroozcode
    @feyroozcode 4 роки тому

    HOW TO SEARCH IN JSON LISTVIEW : ua-cam.com/video/EHt-QlGUoqY/v-deo.html

  • @electronicheartbreak.
    @electronicheartbreak. 4 роки тому +2

    by copy-pasting you made your video a billion time more worse. nice.

  • @funprograms2661
    @funprograms2661 3 роки тому

    skipped a lot and got me lost.

  • @llama7206
    @llama7206 3 роки тому

    pretty bad