what is the best approach to managing app lifecycle state?
would you do it using a getxservice with WidgetsBindingObserver?
thanks in advance.
what is the best approach to managing app lifecycle state?
would you do it using a getxservice with WidgetsBindingObserver?
thanks in advance.
You can extend your controller class with FullLifeCycleController instead of GetXController.
FullLifeCycleController actually extends GetXController with WidgetsBindingObserver.
This gist might help you out. :)