title: Redraw all container if are created with method [DART]
body: <p>I write my first app, i created three container with method, but if the method setState() in a container it's call the setState do not redraw other containers.</p>
  <pre><code> Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: &lt;Widget&gt;[
                Row(
                  children: &lt;Widget&gt;[
                    //ELEMENT A
                    elementGS(size, value_A.text, Colors.cyan[600], GSConst.sizeA, 2),
                    //ELEMENT B
                    elementGS(size, value_B.text, Colors.blue, GSConst.sizeB, 1),
                  ],
                ),
                //ELEMENT C
                elementGS(size, value_AB.text, Colors.red, 1, 3),
              ],
            ),
  </code></pre>
  <p>Method for draw a container</p>
  <pre><code>Container elementGS(
        Size size, String textHint, Color color, double ratioWidth, int flagGS) {
      return Container(
        alignment: Alignment.center,
        padding: EdgeInsets.symmetric(horizontal: GSConst.kDefaultPadding),
        height: size.height * GSConst.kHeightElementRatio,
        width: sizeInternalBody.width * ratioWidth,
        decoration: BoxDecoration(
          color: color,
          borderRadius: BorderRadius.all(Radius.circular(30)),
        ),
        child: TextField(
          decoration: InputDecoration(
            hintText: textHint,
            hintStyle: TextStyle(
              color: Colors.white,
              fontFamily: 'ChristopherDone',
              fontSize: 30,
            ),
            enabledBorder: InputBorder.none,
            focusedBorder: InputBorder.none,
            alignLabelWithHint: true,
          ),
          style: TextStyle(
            color: Colors.white,
            fontFamily: 'ChristopherDone',
            fontSize: 30,
          ),
          textAlign: TextAlign.center,
          autocorrect: false,
          showCursor: true,
          onChanged: (String value) {
            setState(() {
              if (value.isNotEmpty) {
                Map&lt;String, TextEditingController&gt; contr = {
                  &quot;A&quot;: value_A,
                  &quot;B&quot;: value_B,
                  &quot;AB&quot;: value_AB,
                };
                switch (flagGS) {
                  case 1:
  //In calculateGS calculate the golden ratio and set value in the textcontroller.
                    contr = calculateGS(contr, b: double.parse(value));
                    break;
                  case 2:
                    contr = calculateGS(contr, a: double.parse(value));
                    break;
                  case 3:
                    contr = calculateGS(contr, ab: double.parse(value));
                    break;
                }
              }
            });
          },
          keyboardType: TextInputType.number,
        ),
      );
  </code></pre>
  <p>if I call setState in &quot;element C&quot; I also want redraw &quot;element A&quot; and &quot;element B&quot;.
  It's possible?</p>
  <p>Here you will find all the code
  <a href="https://github.com/EliaTolin/GoldenSection" rel="nofollow noreferrer">GITHUB GOLDEN RATIO</a></p>