Home > Mobile >  What is the difference between setState and GetX in flutter?
What is the difference between setState and GetX in flutter?

Time:06-01

I am just looking forward to understand the difference between setState and GetX. As much as I can see from practical point of view when setState is used whole page is rebuilt but when GetX is used only the part of .obs is rebuilt. What I want to understand is more in depth difference.

CodePudding user response:

setState will refresh the whole widget. But using the Getx you can refresh the particular widget.

More you can find from this link : Getx Controller

  • Related