Getx Make Model Obs | Observable Object

Поділитися
Вставка
  • Опубліковано 10 вер 2024
  • Learn how to make a model obs in getx. Here we will after creating a model, how to make it obs type and how to update the property of a model using getx. Here you learn how to make an object observable. Here we created a custom object and made it obs.
    More about getx
    www.dbestech.c...

КОМЕНТАРІ • 23

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

    Thank you so much, your tips really help me to complete my project!

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

      Great to hear!. Please like and share the channel.

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

    great sample thanks

  • @nateg617
    @nateg617 4 місяці тому

    How to manage that if your model has required parameters ?

    • @dbestech
      @dbestech  4 місяці тому

      Need to see your code how you wanna implement it.

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

    GetX is confusing to me, Why did you force a refresh? I mean, How can I know in which conditions I need to force a refresh and in which situations it will update only by changing the value?

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

      In general you should update list

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

    Great Sir!Would be great if could upload videos on making money with flutter

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

    ❤❤

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

    Very helpful for me thank you sir.
    My question is can i show quickly values when user update something with call post api and then isntantly show updated values like user names user add some categories, user add some products using getxx can it is possible??

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

      after post the data in the server, do a get method immediately and then getx would be able to update the data on the ui.

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

      @@dbestech can i store data offline in model after post method hit only for user shows then next time user will be come original data from server will be show this time. I think it is fast way to show data without referesh screen

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

      @@jamshaidmalik463 you need to store data offline using SharedPreferences, it’s nothing to do with Getx.

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

      @@jamshaidmalik463 saving to local store also requires jsonEncode and jsonDecode

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

      @@dbestech in this topic you have video on utube??? If yes then please share with me link

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

    hello sir. When will the third series of Video Chat App series be released?

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

      Third part won't be released on UA-cam. it's already on Udemy

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

      @@dbestech understood bro