Flutter GetX | Flutter State Management A Simple Shopping Cart

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • You will learn about Flutter GetX State Management using a simple shopping cart. You will build the ui and use getx package to manage our state across the app and learn adding two values.
    Flutter getx advantages are that, it's much simple and easy to use route and state management.
    In this application, you cad add numbers and remove numbers from the shopping cart. It's more like a e-commerce.
    Learn about our Getx Video and Audio chat app
    www.dbestech.c...
    Learn about our E-commerce Getx app
    www.dbestech.c...
    Follow me on twitter
    / dbestech
    Follow me on facebook
    / dbestech

КОМЕНТАРІ • 55

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

    Wonderful tutorial! Really simplified simplified concept of state management for me

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

      Glad it was helpful!

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

      @@dbestech Excited to move beyond plain UI in flutter but I'm seeing a lot of conflict on which is better between GetX and Provider and even Riverpod. Please which would you recommend I start with?

  • @user-iu7hh3yv5e
    @user-iu7hh3yv5e 7 місяців тому

    simple and easy to understand, thanks for making this video possible

    • @dbestech
      @dbestech  7 місяців тому

      Yes, as always

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

    Highly recommended video for beginners.. ❤️❤️

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

      Glad you think so!

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

      I indeed agree with you. I think other state management packages are too difficult for beginners to learn and start coding. With GetX it becomes ridiculously easy. Pls share the video. Thanks a lot.

  • @tintinnwe3331
    @tintinnwe3331 11 місяців тому +1

    Thanks a lot , wonderful explanation

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

      You are welcome

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

    Easy and Fast! ths more examples plz

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

    what to do in a condition where you don't know the variable names like pens and books How to achieve that functionality, like there could be vegetable or fruit and they have many kinds How to solve that in GetX?

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

      you need to read them from api and return the data as json and read the data in list and show on the UI

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

      @@dbestech is there any tutorial available so that I can learn please share ...

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

    wow

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

      Yes. Getting there

  • @Hariharan-nk4wq
    @Hariharan-nk4wq 3 роки тому +1

    Osm put more videos on getx

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

    Good one , keep level up !!!

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

    so good

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

    Thank you sir for great explanation and making our life easier. I've one question that which state management tool is prefered to be use in flutter app? I've been working with different state management libraries and found out that getx is the most easiest one but according to my research i found out that bloc/mvc are most used state management tools. Is there any specific reasons or it just depends on our preferences for our app. I would be thankful if you can able to answer my queries.

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

      YEs. You are right. Getx is the easiest one. but Bloc or mvc are used most becaause they are the oldest one. But it's changing. many apps are being built using Getx.

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

      @@dbestech thanks for your response and the time you spend for us. I've learn a lot from your channel and hope to get more informative content like this in future. God bless you.

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

    Below the if zero check you don’t need the else.
    Just return decrement or increments

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

    Many Thanks .....

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

    I love it. Thank you

  • @user-ut7ll6fn9x
    @user-ut7ll6fn9x 2 роки тому

    Thank you very very much 😀

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

    I think u can do that without controller why do u want to do that with controller for what.Can u explain me?

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

      if you don't have controller how do you seperate the business logic from the ui?

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

    Great work bro 🔥🔥

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

    Great...Thanks

  • @user-ks5rv8wz4w
    @user-ks5rv8wz4w 2 роки тому

    thank you sir

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

    Thank you very much, the best lesson I have seen with this library
    very very very cool
    But the question remains, how if he presses the return button to the account screen?
    "Goback",
    How do I set the values to zero again?
    or how programe ressetButton?

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

      You can do it in many different ways. You can reset it to zero with a new button press. Or once you go back to previous set it to zero on the onPress event.

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

      @@dbestech ok brother thank you

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

      @@faisalfotoh1909 You are welcome

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

    love it

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

      You are most welcome

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

    Plz flutter provider complete advanced tuotorial

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

      But next one is going to be flutter getx complete advanced tutorial. Why don't you use getx?

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

    Thanks 😊 I hope to use the GetX in my project but I don't any experience can I use them !!!?

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

      Yes you can! Watch tutorial ua-cam.com/video/M0OwOYPFkrM/v-deo.html

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

    Plz make a tutorial of mysql with getx

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

      yes. we will do with laravel and getx

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

      Thanks bro

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

      @@codinglife2856 Most welcome