title: Flutter Getx: Can obs create a global variable?
body: <p>How to make obs a global variable?</p>
  <p>Have an option of Getx that can create a global variable?</p>
  <p>For the example:</p>
  <pre><code>class Test extends GetxController {
    RxString a = &quot;&quot;.obs;
  }
  </code></pre>
  <p>Page 1:</p>
  <pre><code>Test test =  Get.put(Test());
  print(test.a.value); //&quot;&quot;
  test.a.value = &quot;55555&quot;;
  print(test.a.value); //&quot;55555&quot;
  </code></pre>
  <p>Page 2:</p>
  <pre><code>Test test =  Get.put(Test());
  print(test.a.value); //&quot;&quot;
  </code></pre>