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

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 ต.ค. 2024

ความคิดเห็น • 103

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

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

  • @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 ปีที่แล้ว

      :)

  • @soundparty6540
    @soundparty6540 2 ปีที่แล้ว +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  2 ปีที่แล้ว

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

  • @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}')));

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

  • @sakethparimi7664
    @sakethparimi7664 3 ปีที่แล้ว +2

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

  • @Ghar_ka_khana1831
    @Ghar_ka_khana1831 2 ปีที่แล้ว

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

  • @shreyanshsharma8909
    @shreyanshsharma8909 3 ปีที่แล้ว

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

  • @RafaelDurelli
    @RafaelDurelli 3 ปีที่แล้ว +1

    Please provide a serie about getx. You are great.

  • @Flutterdev6391
    @Flutterdev6391 3 ปีที่แล้ว +3

    Oh my God u accept my request thanks a lot 😍

  • @rachaputisrikanth1243
    @rachaputisrikanth1243 2 ปีที่แล้ว +1

    Great explanation bro

  • @БонжурЕпта-н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.

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

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

  • @mateenmehmood5675
    @mateenmehmood5675 2 ปีที่แล้ว

    Brother you are Awesome

  • @amedeeahoton5829
    @amedeeahoton5829 2 ปีที่แล้ว

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

  • @vsprout4812
    @vsprout4812 2 ปีที่แล้ว

    Very good :) Thankyou

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

  • @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);
    }));
    }

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

  • @subhammishra8167
    @subhammishra8167 2 ปีที่แล้ว +2

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

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

  • @cheddadiyassine4831
    @cheddadiyassine4831 3 ปีที่แล้ว +1

    Great Tuto ;) , thank you and good luck!

  • @anreenani1396
    @anreenani1396 3 ปีที่แล้ว +2

    Awsome thank you 👍🏻☺️

  • @amjadahmed3822
    @amjadahmed3822 2 ปีที่แล้ว

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

  • @Антон-ы3д7ъ
    @Антон-ы3д7ъ 3 ปีที่แล้ว +1

    Great video!!

  • @TheProximator
    @TheProximator 3 ปีที่แล้ว +1

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

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว

      easyaproach555@gmail.com email me

  • @kozimjonkholmirzaev4701
    @kozimjonkholmirzaev4701 3 ปีที่แล้ว +1

    thanks bro.it was great tutorial

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว

      Thank you. Please subscribe the channel.

  • @AiEnthusiast999
    @AiEnthusiast999 3 ปีที่แล้ว +1

    good video on GetX

  • @be_like__prateek
    @be_like__prateek 2 ปีที่แล้ว +1

    🔥🔥🔥🔥🔥

    • @EasyApproach
      @EasyApproach  2 ปีที่แล้ว +1

      Please subscribe the channel

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

  • @hashankannangara8723
    @hashankannangara8723 3 ปีที่แล้ว +2

    Awesome video!

  • @soundparty6540
    @soundparty6540 2 ปีที่แล้ว

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

  • @helintonmercatellineto1277
    @helintonmercatellineto1277 3 ปีที่แล้ว

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

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว +1

      You can use late keyword

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

  • @festusikperha6528
    @festusikperha6528 3 ปีที่แล้ว

    thanks a lot

  • @faisalahmed1981
    @faisalahmed1981 3 ปีที่แล้ว +1

    Good one bro

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว +1

      Thank you. Please subscribe the channel.

  • @mdshahinurislam3072
    @mdshahinurislam3072 3 ปีที่แล้ว +1

    thanks sir

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว

      Thank you. Please subscribe the channel.

  • @tungominh2094
    @tungominh2094 3 ปีที่แล้ว

    Awsome

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

  • @romelcatalogo8022
    @romelcatalogo8022 3 ปีที่แล้ว

    getx or bloc? which is better?

    • @_undecided
      @_undecided 3 ปีที่แล้ว

      ofcourse bloc

  • @holaahora7527
    @holaahora7527 3 ปีที่แล้ว +1

    nice!

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว

      Thank you. Please subscribe the channel.

  • @kaushalkumarmishra9201
    @kaushalkumarmishra9201 2 ปีที่แล้ว

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

  • @helintonmercatellineto1277
    @helintonmercatellineto1277 3 ปีที่แล้ว

    Amazing!

  • @somith16
    @somith16 3 ปีที่แล้ว +2

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

  • @bisolatiamiyu741
    @bisolatiamiyu741 3 ปีที่แล้ว +1

    Thank you

    • @EasyApproach
      @EasyApproach  3 ปีที่แล้ว

      Please subscribe the channel

  • @shreyanshsharma8909
    @shreyanshsharma8909 3 ปีที่แล้ว

    Not working for me

  • @ixaran
    @ixaran 3 ปีที่แล้ว

    need a gRPC support