Flutter Consume Rest API With Best Practices

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

КОМЕНТАРІ • 43

  • @codingorbit
    @codingorbit  2 роки тому +6

    You can find the source code for this project here: github.com/Coding-Orbit/flutter_consume_api.git

  • @khanisrarahmedalihusain
    @khanisrarahmedalihusain 2 роки тому +6

    Really, learnt out of the box way of Integrating network services, thanks a lot

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

    This channel gonna be Rock. checked all videos and followed them in an easy way. best for beginners. Salute you.

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

      Thank you so much! Glad you liked them

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

    Excelent video, thanks you. It helped me a lot.

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

    Hi, Thank you very much for this video. It helped me a lot, can you please tell what tool you are using for generating the model classes

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

    Awesome!… can you integrate the provider state management and url luncher to this? so we could go to the article source website… thanks 🙏

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

      I encourage you to do that. Clone the repo and try to do it yourself 👍🏻

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

      @@codingorbit okay sir… I’ll give it a try… thanks boss.

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

      Most welcome! You can do it 💪

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

    great video, thanks

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

    Great Job!

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

    Please when I run the flutter pub run build_runner build, no file was created, any ideal?

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

      Make sure the project is error free

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

    I/flutter ( 5208): Response 200
    I/flutter ( 5208): Error type-NetworkResponseErrorType.didNotSucceed - Message unknown
    hi sir, do you have any idea on this, it show the the loading only instead of the the items. thank you in advance

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

      I think its from the is valid json method try removing it

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

    Excelent Video, was precisely what I was looking for, great help!
    Quick question, how could I make it so the query parameters can change based on what the user wants. For example making it so you can choose the country you want to see news from?

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

      You will have to create some sort of ui to handle that extract the country selected by the user and then call the api based on what the user selected.

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

    when i use json serializable i always get dart:mirror error, need help getting around that

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

      Im sorry I don’t have an idea about that

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

    can u try google sheets api with flutter

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

    Nice!

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

    شرح رائع. هل انت عربي

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

      شكرا اخي. نعم انا عربي

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

      عندك قناه عربي ولو الشرح كانك تحجي عربي 👍🏻👍

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

      @@Dragon878787878 لا والله بس هاي القناة

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

    what is the difference between this constructor : const construct. ( ); and this one : construct( );

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

      In order to make this class a static class and give a warning that it can't be initialized we use const construct._();

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

      @@codingorbit thank you

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

    Can we get source code of this project ?

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

    👍🏾

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

    Sorry but this is not teaching, this is copy/pasting and voice annoatating what you do, vs actually explaining what's going on. First you don't say where the obviously generated JSON-to-class files come from. That's where it start. And then you go on endlessly rambling about then we copy this here and paste this there.
    There is no learning involved. Why do you create this and that. Not a good video.

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

      You might be right i didn't want to make the video longer than it already is, but that isn't an excuse. Thanks for pointing that out!