API Integration in flutter | Fetching data from API | Flutter Tutorial

Поділитися
Вставка
  • Опубліковано 20 гру 2024

КОМЕНТАРІ • 128

  • @SowbaranikaG
    @SowbaranikaG 5 місяців тому +1

    Thanks a lot , by following ur teaching I made my own UI , with video and description!! Thankyou so so so much ! Great work!

  • @codingstars5208
    @codingstars5208 Рік тому +2

    thank you first time i try API successfully

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

      Thank you for commenting. Keep learning and keep supporting me. 🙂

  • @syedsohaibaliraza3452
    @syedsohaibaliraza3452 4 місяці тому +1

    Thanks a lot, its very helful video and to the point . great one

  • @christianmichael7270
    @christianmichael7270 Рік тому +1

    Thank you for this video, it helped simplify API call

  • @AbhishekSharma-kp3ph
    @AbhishekSharma-kp3ph 2 роки тому +2

    Nice and complete API tutorial

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

      Thank for commenting @Techno Trending. Keep watching and keep supporting me. 🙂

  • @shashikantgiri9671
    @shashikantgiri9671 Рік тому +1

    well explain to fetch data from api,s

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

      Thank you @Shashikant, stay tuned as new videos are going to upload soon..🙂

  • @yadavsarita-qg2gs
    @yadavsarita-qg2gs 8 місяців тому +1

    thanks a lot it's really meaningful tutorial.

  • @prabinstephen850
    @prabinstephen850 2 роки тому +1

    Thanks A Lot Buddy. Ur Video Help Me A Lot. Keep It Up And God Bless U.

    • @TechiePraveen
      @TechiePraveen  2 роки тому +1

      Thanks for commenting @Prabin.. Keep watching and keep learning.

  • @shreyaschavan7976
    @shreyaschavan7976 9 місяців тому +2

    thanxx a lot very useful tutorial

  • @learningcurious5845
    @learningcurious5845 2 роки тому +1

    this is superb IMO... lets give a try !

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

      Thank you 🙂. Keep watching and keep supporting me.

  • @someshsahu4638
    @someshsahu4638 Рік тому +2

    Very nice explanation thankyou so much 🙏🏼🙏🏼🙏🏼

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

      I am glad that you like my video, Somesh 🙂

  • @Physics3333
    @Physics3333 2 роки тому +1

    fully clearly understandable,simply super

  • @001Debjeet
    @001Debjeet 2 роки тому +1

    well explained praveen

  • @zabinoori49
    @zabinoori49 Рік тому +1

    It was best explained thanks 😊

  • @tragicomradeshorts5351
    @tragicomradeshorts5351 2 роки тому +1

    Easy and clean explanation ever, 100% worked tutorial . Thanks a lot man.

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

      Thank you @Sanjeev, Keep learning and keep supporting me. 🙂

  • @collinsattafuah2947
    @collinsattafuah2947 2 роки тому +1

    Wow this is amazing . Thanks a lot

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

      Thank you collins for your beautiful comment. Keep
      learning and keep supporting me 🙂

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

    Thanks bro
    nice vedio
    keep doing vedios 👌👌👌

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

      Thanks a lot @Areena. Keep learning and keep supporting me. 🙂

  • @PriscaKaliati
    @PriscaKaliati Рік тому +1

    So clear and straightforward 🥺

  • @ashutoshnakhe3318
    @ashutoshnakhe3318 2 роки тому +1

    Nice informative video 👍✨

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

      Thank you 🙂. Keep watching and keep learning.

  • @codingstars5208
    @codingstars5208 Рік тому +1

    so clear information

  • @metaiot
    @metaiot 2 роки тому +2

    Thanks alot praveen for explaining this so clearly. This was pain for me as I'm mostly get comfort with Angular and JS Frameworks 👏

    • @TechiePraveen
      @TechiePraveen  2 роки тому +1

      I am glad that you like this video. Keep learning and keep.supporting me. 🙂

  • @ambatiashok6199
    @ambatiashok6199 2 роки тому +1

    easy to understand

  • @SachinDhouchak
    @SachinDhouchak Рік тому +1

    why Future apicall() async is called ? Can someone plz tell me ?

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

      Hi, whenever we are waiting for some data, then we used async, and future is used to map json values...those values will get in future

  • @harshitgrover4984
    @harshitgrover4984 Рік тому +1

    Flutterflow par video banaiye

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

      Bahut jald flutter ke series start hone wali hai so stay tuned 🙂

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

    Very nice tutorial

  • @amanswastikrath8460
    @amanswastikrath8460 2 роки тому +2

    got to learn a lot of things infact it was a grt video!! but in the end I am getting a error " Unhandled Exception: type '_InternalLinkedHashMap' is not a subtype of type 'List'"

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

      Hi Aman, sorry for late reply. Need to see the code for error. Please ping me on twitter for one to one interaction and thanks for commenting, i’ll try my best to help you out 🙂

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

      @@TechiePraveen I have too that error. can you explain or correct code

  • @yaminiashokkumar2648
    @yaminiashokkumar2648 Рік тому +1

    really good explanations. pls post like this relevant videos comparing two three api together

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

    is wrap stream builder to list view
    for imidently data change

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

    This was lovely. Please can you lecture on post method for registering a user and logining in the registered user

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

      Hi Hafis, thank you for commenting. Sure, i will create the API integration in detail with POST method using e-commerce scenarios. Stay tuned. 🙂

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

      @@TechiePraveen really looking forward to that. Thanks in advance

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

    Thanks alot..I want to know that how can I get individual item details after pressing on single item from list

    • @TechiePraveen
      @TechiePraveen  3 роки тому +3

      Hi Shivendra, I think you want product details page, so for this you can create a separate class and pass the value of the api in that class by using index. Let me know in case you need any help from me. 🙂

    • @shivendratiwari8069
      @shivendratiwari8069 3 роки тому +3

      @@TechiePraveen yeah I used index and I am getting all the list items but I only want to get a single item details of an selected item.Thanks..

    • @TechiePraveen
      @TechiePraveen  3 роки тому +3

      @@shivendratiwari8069 so, in that case, you can give the condition for that specific items.

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

    helped a lot thank u sir

  • @نورعادل-م1ث
    @نورعادل-م1ث Рік тому

    thanks can i use this method in travell app please answer me ????and what i write to get api from travell app can u help me

  • @rv9570
    @rv9570 2 роки тому +1

    Superb

  • @satyamdubey7721
    @satyamdubey7721 Рік тому +1

    Thank bro 😊😊😊😊😊

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

    thanks. learn lot of thinks

  • @sajalbhattar2897
    @sajalbhattar2897 2 роки тому +1

    Great

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

    Thanks Praveen

  • @sreejithcs9443
    @sreejithcs9443 2 роки тому +1

    Thank you so muchh.....

    • @TechiePraveen
      @TechiePraveen  2 роки тому +1

      Welcome, @Sreejith.. Keep learning and keep supporting me 🙂

    • @sreejithcs9443
      @sreejithcs9443 2 роки тому +1

      @@TechiePraveen Yes!! Sure
      Expecting more videos on Flutter ✨️

    • @TechiePraveen
      @TechiePraveen  2 роки тому +1

      @@sreejithcs9443 sure, i will upload more soon.

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

      @@TechiePraveen ❤️

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

    How do i display container with an image if listresponse. Length == null? 0 : listresponse. Length

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

    Thanks a lot for this.

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

    How to listen to data change in http (api request)

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

      Hi @chachu, please elaborate your question. You want to handle when API response gets changes ?

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

    now please add on click method in listview

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

      Hi Jay, soon i am going to upload an e-commerce app videos from scratch where i am going to cover all these topics

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

    hi sir, im a beginner and i have live running website and im try to convert it into a app and i have designed my own ui in flutter and how do i pull the login data from the website

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

    Thank you ❤️

  • @haisamkhurshid1294
    @haisamkhurshid1294 11 місяців тому

    Please give your detail to contact you.I am building a flutter app where dynamic data and list charts is getting involved and i am getting confused in that.Please help

  • @surajkushwaha890
    @surajkushwaha890 2 роки тому +1

    Hii sir
    String stringResponse;
    Map dataResponse;
    Map mapResponse;
    List listResponse;
    Show tha error
    All Response line show error
    How to find

    • @being_billo
      @being_billo 2 роки тому +1

      put it like this as i wrote
      String? stringResponse;
      Map? mapResponse;
      put ? mark after the data type

  • @vi.p8376
    @vi.p8376 2 роки тому

    bro pojo class whre is code?

  • @vasantkalal-x4j
    @vasantkalal-x4j Рік тому

    mapResponse["data"].toString(), (_TypeError (Null check operator used on a null value)) showing me this error can any one tell me what to do?
    after putting datatype Map?mapResponse....

  • @AnkitaSingh-kq4yo
    @AnkitaSingh-kq4yo 2 роки тому

    Sir Arraylist se Arraylist kasie nikalege

  • @MSS_SUNILKUMARSV
    @MSS_SUNILKUMARSV 2 роки тому +5

    Can you share the code and list the packages which you have used in this, please?

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

    thanks a lot sir

  • @NazrulIslam-iz6sw
    @NazrulIslam-iz6sw 2 роки тому

    how to do a pagination here?

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

    how to map that api value into the doughnut chart

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

    thank you brother

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

      Most welcome. Keep learning and keep supporting me. 🙂

  • @kevinpierrerafaelsabran4748

    thank you alot sir

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

    I am getting output in html format

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

    Sir pls explain the post api for login

  • @naik6142
    @naik6142 2 роки тому +1

    thank you man

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

    This great video, in fact, I gained a lot from it. Please, I am having this error:
    lib/main.dart:67:35: Error: Operator '[]' cannot be called on 'Map?' because it is potentially null.
    - 'Map' is from 'dart:core'.
    : Text(mapResponse['data'].toString()),
    ^

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

      Hi Olainiyan, i think you have not handled the null conditioned, so for the either write the code for null condition or downgrade the null safety..🙂

    • @areenasjayan9280
      @areenasjayan9280 3 роки тому +5

      Use like this
      Map mapResponse ={ };
      List listResponse = [ ];

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

      HI i am a beginner learning Flutter and getting the same null error in this statement, child:mapResponse ==null? Text("Data is laoding"):Text(mapResponse['data"].toString()),
      Can you provide exact /more details how to resolve it. Thks

  • @vi.p8376
    @vi.p8376 2 роки тому

    for me not wrking i want git source code

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

    How to get Home List User click push Detail User ???

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

    Where is modal class??

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

      Hi Yusuf,as this is just an example of api integration. So, i haven't created a model class. However, you can create a model class and also use state management for the better handling of apis. Let me know in case you need any help in this.

  • @kinisfort501
    @kinisfort501 2 роки тому +1

    Thank you

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

    showing error stringResponse not initilized

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

      This is happening because We're Initializing the stringResponse in the apiCall() method's if condition but if the success code != 200 then there's no else condition to initialize the string. Therefore, this error will come.
      solution: String stringResponse = " " ; //initialize empty String

    • @kabilanrajkumar-xb1to
      @kabilanrajkumar-xb1to 2 місяці тому

      @@vchib1 then also I got

    • @kabilanrajkumar-xb1to
      @kabilanrajkumar-xb1to 2 місяці тому

      @@vchib1 I couldn't able to access the element in the text field

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

    okka mukka ardam kavadam le

  • @SuganyaMurugan-q4p
    @SuganyaMurugan-q4p Рік тому +1

    Thank You so much

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

    thank you!