In Part 1, I discussed how to store state in GetX using observables. Using observables are great, but you sometimes you don’t want to keep observables stored in memory. GetBuilder is more lightweight and gives you more control over when widgets should be notified of a state change. I also discuss Workers, which are a great way to invoke timed callbacks when your state changes.

💻Get the code: https://github.com/cheetahcoding/CwC_Flutter/tree/getX_state_management

#flutter #mobile-apps #programming #developer

How to use GetX in Flutter - Part 2 (GetBuilder & Workers)
16.10 GEEK