FutureBuilder In Flutter - Building Lists with JSON Data

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 321

  • @thesamarthagarwal
    @thesamarthagarwal  5 лет назад +41

    Source code: github.com/samarthagarwal/FutureBuildInFlutter

    • @arirahmagumelar
      @arirahmagumelar 5 лет назад

      thanks

    • @insight-guy
      @insight-guy 4 года назад

      Thank you

    • @nitinporwal1158
      @nitinporwal1158 4 года назад

      Smarth u contact no. Pls we are building app and would like to take u r service.. Pune +91-9270060180

    • @aadarshainfo3535
      @aadarshainfo3535 4 года назад

      Normally, I don't comment thanks on tutorial videos but your videos are not above normal.

    • @pvsairam
      @pvsairam 4 года назад

      I've followed your code and tried to fetch cryptocurrency details but unable to get the results.
      Here is the code - justpaste.it/3p3d3
      could you please check and let me know what went wrong.
      Thanks!

  • @shaunhallier5035
    @shaunhallier5035 2 года назад

    I'm new to Flutter and Dart, and got VERY STUCK because I could not for the life of me figure out how to properly use a future builder to get a List from an API. It was driving me crazy, documentation didn't help me, but YOUR video did! Thanks!

  • @manueldiera6781
    @manueldiera6781 5 лет назад +1

    Almost a year old and soo helpful. I completely agree with the other commentors on here. You have such a great teaching style. I'll be looking for your videos on Udemy. Thank you very much for sharing this information.

    • @ebrahimmahmoud1108
      @ebrahimmahmoud1108 5 лет назад

      do you have any idea why he didn't use initState and setState here?

  • @simplysmart3996
    @simplysmart3996 5 лет назад

    Even if no one is following , I am following you and I an really enjoying working with your videos on flutter.. Thanks

  • @isururanawaka5839
    @isururanawaka5839 4 года назад

    Very clear explanation. I am way late to Flutter and to watch this video and I regret it already. Thank you!

  • @gambar
    @gambar 5 лет назад +16

    THE best tutorial on this matter out there! Saved my skin, thank you mate!

  • @nadjinmalade8738
    @nadjinmalade8738 4 года назад

    Simple and easy to understand when you'are explaining.... Thanks

  • @Ilovetocode_23
    @Ilovetocode_23 3 года назад

    By far the most educative video of Flutter with Json out there. Thank you for this.

  • @danielwatts3718
    @danielwatts3718 4 года назад

    Nice and clear reasoning and explanations

  • @Tpatil1996
    @Tpatil1996 4 года назад +1

    One of the best tutorials I have come across! Keep it up Samarth!

  • @guilhermeaguiar2743
    @guilhermeaguiar2743 3 года назад +1

    Meus parabéns. Sou brasileiro e não falo inglês, mas sua didática é tão incrível que entendi tudo.

  • @ShufflePetro
    @ShufflePetro 4 года назад +8

    This was literally the perfect guide. Thank you so much!

  • @sidneymachara9773
    @sidneymachara9773 5 лет назад +3

    Great tutorial .. simple ,straight forward and EXPLAINS IN DETAIL ..I LOVE IT

  • @shrutisrivastava9157
    @shrutisrivastava9157 3 года назад

    Thanks!! I was pretty confused about Future Builder, this cleared everything

  • @MrDyll
    @MrDyll 4 года назад

    brother this is amazing content. i was stuck for a week until you taught me this. thank you very much. much better than some teachers at the top university

  • @kaushalzod5162
    @kaushalzod5162 4 года назад

    Thank You sooooooooooo Much sir I am very thankful for you I just started using flutter some days ago and was having a problem when handling HTTP Request it was always showing setstate called after disposing of and your setstate is not in widget tree, thankfully due to you I will be able to complete pending apps, You just gain a subscriber

  • @johnnynguyen6909
    @johnnynguyen6909 4 года назад +1

    Very simple and straightforward, especially when compared to the official documentation and Stack Overflow. You have another subscriber, keep up the excellent content!

  • @Sandy-rv9tv
    @Sandy-rv9tv 4 года назад

    This is simply amazing. I reckon the best tutorial on Flutter handling and displaying of Lists and Arrays. It helps me immensely on my very first Flutter-Django project
    Big 🍰 for you

  • @zameeruddin2212
    @zameeruddin2212 4 года назад

    Very clear teaching.

  • @riyoinfosys9321
    @riyoinfosys9321 4 года назад

    Great explanation. Clear voice and clear understanding with perfect views.. am going to subscribing your channel now..

  • @jeffersonlegaspi9652
    @jeffersonlegaspi9652 6 лет назад +11

    Loved your tutorial! very simple yet full of information and easy to understand. hopefully more flutter tutorial videos to come because more and more developers (inlcuding me) are very interested to this new framework. please do also tutorials and ways how to display detail information using modals, snackbar and other widgets. for sure this will help a lot especially me myself. thanks. btw. i already subscribed in your channel. thumbs up!

  • @muhammadibrahimkhwaja9969
    @muhammadibrahimkhwaja9969 3 года назад

    That's Perfect ... You really deserve a SUBSCRIBE ...

  • @CSEngineer1
    @CSEngineer1 4 года назад

    Precise, explain well, simply awesome. This is exactly what I was looking for!!!

  • @balaji.j2024
    @balaji.j2024 4 года назад

    Really excellent teaching bro,I understood the concept for the first time.Really excellent.Make more videos bro

  •  4 года назад +1

    Thank you very much, Samarth - exactly what I was looking for!

  • @Gd-jq6mz
    @Gd-jq6mz 3 года назад

    superb implemented staggered view with this concept

  • @songlee8456
    @songlee8456 6 лет назад +1

    2 years ago google said everyone leave java behind, focus now on kotlin. 2 years later google comes now with flutter and said "everybody stop wasting time with kotlin or swift, flutter is the way to go".
    Me, i said "keep building app with ionic cause it getting more and more stronger".

  • @George-or3uv
    @George-or3uv 4 года назад

    Samarth, please make more flutter videos. We need more content on it from creators like you.

  • @zedplusmedia2695
    @zedplusmedia2695 5 лет назад

    Yes... you are *Samarth*
    Means... efficient

  • @bhaveshkipathshala
    @bhaveshkipathshala 5 лет назад

    Very good video, very simple to understand. hope new more flutter related video in future as well. Kindly add some more video on MVC pattern in flutter (like BLoC) for JSON data parsing like product list and it's detail screen with all kind of information. Thank you.

  • @silverzero9524
    @silverzero9524 5 лет назад

    thank you very much dude
    i want to do something very similar
    i have a database with name,phone,address,etc
    and display names on main page and when someone clicks , display everything
    i thought it will take a long time to learn because i am new to dart & flutter
    but after watching this video i think i can do it a lot quicker than i thought

  • @yashagarwal5304
    @yashagarwal5304 4 года назад

    Crazy explanation.. Loved it to its core. Beautifully done

  • @infoetchbala
    @infoetchbala 5 лет назад +1

    Great one. Thank you . is there any example to refresh API while pulling the page. ? Thank you

  • @epicpasta8100
    @epicpasta8100 4 года назад

    Awesome video, just saved my life

  • @sweethomeshopping5848
    @sweethomeshopping5848 4 года назад

    Thank you very much.. It's so easy to understand

  • @bmwgang7611
    @bmwgang7611 3 года назад

    Amazing video, very clear and detailed explanation. Thank you!

  • @thirdreplicator
    @thirdreplicator 2 года назад

    So awesome. Very little code and the result looks g reat!

  • @sachinandhale5657
    @sachinandhale5657 4 года назад

    Hi samarth,
    nice content pls pls make more video on Flutter

  • @abbyhuh1460
    @abbyhuh1460 3 года назад

    omg you're a saviour. thank you so much!

  • @AayushSingal1
    @AayushSingal1 4 года назад

    best tutorial on Future builder!! After watching so many video, finally found yours! Helped me a lot!! Thank you, brother! 🔥🔥

  • @emmakade07
    @emmakade07 2 года назад

    sweet and lovely tutorial

  • @msantagiulianab
    @msantagiulianab 4 года назад

    Very good tutorial. Thanks

  • @tyson3381
    @tyson3381 4 года назад

    thanks a lot, after watching tons of video finally your method worked.

  • @juliusguevarra3729
    @juliusguevarra3729 3 года назад

    Well-explained! 👍👍

  • @sunchitlakhanpal
    @sunchitlakhanpal 5 лет назад

    Great Tutorial to understand JSON, hope for more complex parsing tutorials in the future ...

  • @kunaljoshi8038
    @kunaljoshi8038 4 года назад

    Simple straightforward and concise! 🙌 Awesome tutorial.

  • @AdarshMadrecha
    @AdarshMadrecha 5 лет назад +1

    Superb explanation.

  • @gameofcodes9832
    @gameofcodes9832 4 года назад

    Thank you soo much. I stuck the whole day and finally got this video
    And by the way, your voice is soo much relaxing please keep on making more videos on these topics.

  • @msoftltd3710
    @msoftltd3710 4 года назад

    Great tutorial and excellent explanation, Thank you

  • @henriklein4952
    @henriklein4952 4 года назад

    Really nice explained

  • @HemalRathod
    @HemalRathod 2 года назад

    Wonderful work

  • @masyez
    @masyez 5 лет назад +8

    Thanks alot man, if I have an array called users {
    Username,
    Full name
    }
    Instead of a string, how do I get the values?

  • @عبدالقادرعبدالرحمنعبدالله

    Great content with great explanation by great man.
    Thank you so much.

  • @vegaboy2003
    @vegaboy2003 11 месяцев назад

    Good tutorial, is possibile to implements a searchView ? Thank you

  • @apderic1079
    @apderic1079 5 лет назад

    It was very lovely and was very helpful. Please do more flutter tutorials

  • @dhruvgarg5372
    @dhruvgarg5372 4 года назад

    Nicely done!!!

  • @GeekyGagan
    @GeekyGagan 4 года назад

    Very nice and simple bro

  • @faheemahmadofficial7701
    @faheemahmadofficial7701 4 года назад

    hey bro you are a gem!!!1 but we want more videos for flutter please make them

  • @SubhashPalsule
    @SubhashPalsule 6 лет назад +7

    Great! Where can I get source code for this?

  • @PRAMODYADAV-mk7ow
    @PRAMODYADAV-mk7ow 4 года назад

    THANKS FOR MAKING THIS TUTORIAL . PLEASE ALSO ADD ADD TO FAVORITES FUNCTION

  • @WikkiOnIlluminati
    @WikkiOnIlluminati 5 лет назад +4

    HI,
    GREAT VIDEO TUTORIALS. I AM WATCHING AND LEARNING BY CODING SIDE BY SIDE.
    I HAVE A REQUEST FOR VIDEO TO MAKE FLUTTER LIST VIEW WITH REST JSON DATA WITH PAGINATION.
    KINDLY CAN YOU COVER HOW TO LOAD PAGINATED DATA INTO LIST VIEW IN FLUTTER IN YOUR NEXT VIDEO.
    THANKS

  • @karanv293
    @karanv293 3 года назад

    such good content man. keep up the good work! thank you

  • @david_tojo
    @david_tojo 4 года назад

    Thank you, in this video I has learned how the FutureBuilder works. :)

    • @questionoverflowoverflow3967
      @questionoverflowoverflow3967 4 года назад

      Here is one example chat application with Firebase
      ruclips.net/video/xgX0e9_YtX4/видео.html

  • @FelipeGonzalez-oo8no
    @FelipeGonzalez-oo8no 4 года назад

    Thank You , this is the Best tutorial to start

  • @kennethn.9960
    @kennethn.9960 5 лет назад

    Great tutorial. Thanks Samarth

  • @asgaraliyev8740
    @asgaraliyev8740 4 года назад

    Thank you very much .this is so nice explanation

  • @theorushinjr9023
    @theorushinjr9023 3 года назад

    This was an awesome video! You covered exactly what I needed to know. Thank you.

  • @daveeddrumz5097
    @daveeddrumz5097 4 года назад

    This explanation was too sweet !!!

  • @champ6277
    @champ6277 3 года назад

    You are a king man

  • @ozenuaoluwatobi
    @ozenuaoluwatobi 5 лет назад +2

    Wonderful experience with your tutorial, any help with Firebase realtime database. I can't seem to get it working

  • @enthusiastdev7247
    @enthusiastdev7247 6 лет назад

    Good job bro! Your explanations are very helpful and clear.

  • @chetansuthar671
    @chetansuthar671 4 года назад +1

    samarth, thankyou for your solution, but i have a problem the future builder build the whole list again when i pop from list tile, i mean when i click on list tile which has on tap facility and when i pop that screen the future build again add the same data to the list so it will be multiplied whenever i press and pop to the future builder screen, any Solution??

    • @thesamarthagarwal
      @thesamarthagarwal  4 года назад +1

      That's because the FutureBuilder is rebuilt every time the build method is called. You can fix this by either clearing your array inside the _getUsers Future or by pre-obtaining your Future.

  • @GAMEOLOGIST
    @GAMEOLOGIST 3 года назад

    We want more tutorials from you 😍

  • @pranavajay5528
    @pranavajay5528 2 года назад

    Thank you for this one 😁🙏

  • @florianb.9367
    @florianb.9367 4 года назад

    Thanks for the good example, i looking for exactly this! :)

  • @vaidhyanathansm7625
    @vaidhyanathansm7625 4 года назад

    Amazing Video! Thanks!

  • @ftech8489
    @ftech8489 3 года назад

    exacly what im looking for

  • @iAsync
    @iAsync 3 года назад

    Very very nice 100% thank you for the tutorial ❤️

  • @maheshguptaboddu4331
    @maheshguptaboddu4331 5 лет назад

    Flutter is really cool. Nice tutorial

  • @HaiderAli-hc5mr
    @HaiderAli-hc5mr 4 года назад

    Simple and Clear Cut

  • @NguyenKhoa-mw3ok
    @NguyenKhoa-mw3ok 5 лет назад

    Thanks you very much. Your video helps me very much.

  • @fernandopinto7905
    @fernandopinto7905 3 года назад

    gracias amigo me sirvió mucho tu video!!!

  • @hdkloh6857
    @hdkloh6857 5 лет назад

    Nice explanation... But how can we fetch more complex json response...?

  • @Apenschi
    @Apenschi 5 лет назад

    Very good tutorial!! Thanks a lot! Please more of this stuff!

  • @hoggish
    @hoggish 4 года назад

    Good job keep it up

  • @yashdubey1505
    @yashdubey1505 4 года назад +1

    how to put favorite button in them

  • @geniecoder
    @geniecoder 6 лет назад

    Great video bro! perfect speed and easy to understand

  • @mirackdt4003
    @mirackdt4003 4 года назад

    You are the best. Thank you so much!

  • @punjabiwithjasman135
    @punjabiwithjasman135 5 лет назад

    Thats it....thats what i have been searching for

  • @kartikbhanderi9210
    @kartikbhanderi9210 4 года назад

    Amazing work sir :)

  • @melvink.2681
    @melvink.2681 6 лет назад +1

    Thanks a lot. It works fine until Minute 11:12. Writing -> return events; gives me errors. It says in the emulator within the red background: "NoSuchMethodError: Class 'List has no instance getter 'lenght'. Reciever: Instance(length:20) of '_GrowableList' Tried calling: length. Did i miss something?

  • @AzimuthPH
    @AzimuthPH 4 года назад

    Impressive presentation

  • @develflutt8357
    @develflutt8357 4 года назад +1

    how to display result method POST Request in Listview, tutorial please.. thanks.

  • @puargs
    @puargs 5 лет назад

    Samarth this was an excellent video, thank you.

  • @ozenuaoluwatobi
    @ozenuaoluwatobi 5 лет назад +1

    Can I use future builder for Firebase Realtime database also??

  • @ThreadsX
    @ThreadsX 4 года назад

    Great Video

  • @yusufs_solos
    @yusufs_solos 4 года назад

    Thank you so much very useful one

  • @buyaapp3256
    @buyaapp3256 5 лет назад

    The method 'Container' isn't defined for the class '_MyHomePageState'.
    Try correcting the name to the name of an existing method, or defining a method named 'Container'.dart(undefined_method)

  • @zoooojith
    @zoooojith 6 лет назад +1

    Hey, can you create a video on sqflite database package in flutter.? Where we can insert and retrieve values that was inserted in a textfield.

  • @ujjwalbiswas8400
    @ujjwalbiswas8400 4 года назад

    You save my day