How to make obs a global variable?
Have an option of Getx that can create a global variable?
For the example:
class Test extends GetxController {
RxString a = "".obs;
}
Page 1:
Test test = Get.put(Test());
print(test.a.value); //""
test.a.value = "55555";
print(test.a.value); //"55555"
Page 2:
Test test = Get.put(Test());
print(test.a.value); //""