GetX State Management In Flutter With API Calling (Flutter Tutorial)

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

КОМЕНТАРІ •

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

    Thats a really good video brother... Love & Support from Bangladesh

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

    Great tutorial bro for understanding getx. 👍 People want this series.

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

      Thank you. Please subscribe the channel.

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

      @@EasyApproach already completed with bell :)

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

      :)

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

    I was looking for a getx state management tutorial for rest API calling for one of my projects. I found this one right away and I am starting it now. I hope it will be helpful for me. I will update you about my experience.

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

      Update #1, Position 5:30 - He is suggesting his previous series on getx basic. I will go watch that first.

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

    i guess you are the only developer who involves oops concepts in the tutorials

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

    Oh my God u accept my request thanks a lot 😍

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

    Can you please use get_cli and use one of those architectures?

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

    I would love a tutorial on Graphql and Flutter in this format, learned a lot! Thank you. :)

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

      Sure :) subscibe the channel

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

      @@EasyApproach Already am! 😁

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

      Me too need some graphql tutorial

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

    Why did you not use json to dart converter for creating models ?

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

    Great explanation bro

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

    Brother you are Awesome

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

    Thanks bro, please make tutorials on other flutter concepts. I love your videos man.

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

    Excellent video. One thing I'm having an issue with is trying to refresh the articles page. Ive tried using an onPressed event on an Elevated button and I've also tried using a RefreshIndicator. For whatever reason the content just wont update on the UI. How do we refresh the content? Can yo give us an example?

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

    I am getting this, "The argument type 'Null Function(DioError)' can't be assigned to the parameter type 'void Function(DioError, ErrorInterceptorHandler)'." error while adding interceptors. What is this?

    • @sagar-uprety
      @sagar-uprety 3 роки тому +1

      Hey Russaz, if you haven't already found the solution. Try this:
      onError: (err, errorInterceptorHandler) => print(err.message),
      onRequest: (req, reqInterceptorHandler) =>
      print('${req.method}| ${req.path}'),
      onResponse: (res, resInterceptorHandler) =>
      print('${res.statusCode} | ${res.statusMessage} | ${res.data}')));

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

    Awesome video!

  • @Антон-ы3д7ъ
    @Антон-ы3д7ъ 3 роки тому +1

    Great video!!

  • @БонжурЕпта-н9т
    @БонжурЕпта-н9т 3 роки тому +1

    hello, when i run [flutter pub run build_runner build] in terminal, i get succeeded 14 actions (instead of 15, as in your case) and [part 'article.g.dart';] is still an error. What should i do?

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

      Can you paste your logs

    • @БонжурЕпта-н9т
      @БонжурЕпта-н9т 3 роки тому

      @@EasyApproach [INFO] Generating build script...
      [INFO] Generating build script completed, took 561ms
      [INFO] Initializing inputs
      [INFO] Reading cached asset graph...
      [INFO] Reading cached asset graph completed, took 78ms
      [INFO] Checking for updates since last build...
      [INFO] Checking for updates since last build completed, took 607ms
      [INFO] Running build...
      [INFO] Running build completed, took 20ms
      [INFO] Caching finalized dependency graph...
      [INFO] Caching finalized dependency graph completed, took 91ms
      [INFO] Succeeded after 136ms with 0 outputs (0 actions)
      Is that logs? If yes, then, unfortunately, I don't have the very first logs, these are the logs that shown to me after second++ [flutter pub run build_runner build]

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

      We can do online session (call). My email easyaproach555@gmail.com.

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

    Great Tuto ;) , thank you and good luck!

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

    I'm getting this error while fetching the data, exactly on onResponse in http_service_impl.dart.
    Unhandled Exception: type 'Response' is not a subtype of type 'Map'
    At first in console it says nothing but then I discarded the initializeInterceptors and tried with getRequest method this error showed up.
    Any help please?

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

    Please provide a serie about getx. You are great.

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

    i'm trying to build detail_screen. but i'm not sure how to pass article object from listView to detail_screen using get. It will helpful to have some logics.

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

    bro...which is better state management to learn provider or GetX ? which state management should we prefer?

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

      Provider is not purely a state management, however, it is dependency injection.
      GetX is a complete solution for an app it gives you state management route management and dependency management.

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

      @@EasyApproach Bro...generely in GetX we use MVC patern(models,views,controlers). So what we should put inside the model folder...?

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

      Model classes for the json data.

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

    Very good :) Thankyou

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

    Hello friend, I have an app that needs some improvements, do you do freelancing?

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

    Please update your code using null safety, whenever I going to follow your tutorial can't make some null safety issues

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

    🔥🔥🔥🔥🔥

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

    hi bro curently i got a job as flutter developer they give me a task as this video but i can not develop it will not showing any data

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

      You can tell the specific problem you are having so that I can help!

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

    good video on GetX

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

    thanks bro.it was great tutorial

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

      Thank you. Please subscribe the channel.

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

    When null safety comes into play, how can I initialize the HttpService _httpService?

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

    Why abstract classes then impelemantion?

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

      To follow good practices. Read SOLID principles.

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

      @@EasyApproach we need more videos about solid

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

    Great video .. how about adding testing implementation in this project for the next video.. it'd be great

    • @EasyApproach
      @EasyApproach  3 роки тому +6

      I am gonna create video on testing soon

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

      @@EasyApproach that's amazing looking forward to that video 👌

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

    Awsome thank you 👍🏻☺️

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

    getx or bloc? which is better?

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

    Good one bro

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

      Thank you. Please subscribe the channel.

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

    Sir please make a playlist for getX videos

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

      Sure thanks for the idea.
      Thank you. Please subscribe the channel.

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

    Awesome work❤
    Thanks.
    Can you make a POST request with the same example

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

    It's always showing loading indicater it not show the value for me

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

    Bro can you please add in post method too ?

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

      Sure why not. Thank, subscribe the channel if you like

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

      @@EasyApproach No need to say for sub,your content is that level anyone watch atleast one vide and if she/he wants to learn flutter they definitely subscribe your channel..

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

      @@ashvinpatel87 love you bro

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

    Amazing!

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

    I was hoping to create a small project with GetX FLUTTER with API Laravel

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

    Awsome

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

    Can you do a video for admin panels with flutter mobile application. How we can harvest pc admin panel and mobile database (sql, firebase etc)?

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

    nice!

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

      Thank you. Please subscribe the channel.

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

    thanks a lot

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

    thanks sir

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

      Thank you. Please subscribe the channel.

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

    Not working for me

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

    need a gRPC support

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

    Make detailed Explanation of Each and Every Step,
    Nothing would Happen if you do code and voice over .

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

    sir make a new video on bloc library since it gets updated

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

    Teach complete app ......with getx and api

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

    Thank you

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

    To those who are watching this on 2022, dio latest version might not work for you
    try changing initializeInterceptor() method like this
    initializeInterceptors() {
    _dio.interceptors.add(InterceptorsWrapper(
    onError: (error, handler) {
    print(error.message);
    return handler.next(error);
    }, onRequest: (request, handler) {
    print("${request.method} | ${request.path}");
    return handler.next(request);
    }, onResponse: (response, handler) {
    print(
    "${response.statusCode} ${response.statusMessage} ${response.data}");
    return handler.next(response);
    }));
    }