title: How can I have a reactive update of a Text Widget that displays the property of an object when this property changes ? And this with GetX
body: <p>I'm trying to understand how to use the GetX package in a Flutter application to get a reactive update in a Text widget when the value is changed in a TextFormField.
  What is displayed in the Text widget is the property of an observable object. And it is that property that is updated from the TextFormField.
  The value is correctly updated in the controller but not in the widget.
  If I use a string variable directly, it does update correctly. But as soon as I'm using an object, it does not update anymore.</p>
  <p>This is a really simple sample of my application, just to be sure that that basics are understood.</p>
  <p>Here is my code:</p>
  <pre><code>class User {
    String name = &quot;&quot;;
  }
  
  class TestController extends GetxController {
    TestController();
  
    final user = User().obs;
  }
  
  class MyHomePage extends StatelessWidget {
    final c = Get.put(TestController());
    final String title;
    MyHomePage({this.title});
    @override
    Widget build(BuildContext context) {
      return Scaffold(
        appBar: AppBar(
          title: Text(title),
        ),
        body: Center(
          child: Container(
            width: Get.width * 0.8,
            height: Get.height * 0.8,
            child: Column(
              children: [
                Obx(() =&gt; Text(c.user.value.name)),
                TextFormField(
                  onChanged: (value) =&gt; c.user.value.name = value,
                ),
              ],
            ),
          ),
        ),
      );
    }
  }
  </code></pre>
  <p>Many thanks for your help !</p>