title: Flutter: How to get initialized value as the final value if the TextField widget is not changed
body: <p>This is the code for the TextField. I've initialized it and I want this value to get print when a button is pressed if the text field is not changed.</p>
  <pre class="lang-dart prettyprint-override"><code>Container(
    width: 80,
    child: TextField(
      controller: TextEditingController()..text = '${json['satur']}',
      onChanged: (value) =&gt; {
        satur = value,
      },
      keyboardType: TextInputType.number,
      textAlign: TextAlign.center,
      style: const TextStyle(
        color: Colors.orangeAccent,
      ),
      cursorColor: Colors.orangeAccent,
      decoration: const InputDecoration(
        contentPadding: EdgeInsets.symmetric(
            vertical: 10.0, horizontal: 20.0),
        border: OutlineInputBorder(
          borderRadius:
              BorderRadius.all(Radius.circular(32.0)),
        ),
        enabledBorder: OutlineInputBorder(
          borderSide: BorderSide(
              color: Colors.orangeAccent, width: 1.0),
          borderRadius:
              BorderRadius.all(Radius.circular(32.0)),
        ),
        focusedBorder: OutlineInputBorder(
          borderSide: BorderSide(
              color: Colors.orangeAccent, width: 2.0),
          borderRadius:
              BorderRadius.all(Radius.circular(32.0)),
        ),
      ),
    ),
    //flexible
  ),
  </code></pre>
  <p>This is the code for button:</p>
  <pre class="lang-dart prettyprint-override"><code>Material(
    color: Colors.deepOrangeAccent,
    borderRadius: const BorderRadius.all(Radius.circular(30.0)),
    elevation: 5.0,
    child: MaterialButton(
      onPressed: () {
        print(&quot;Success&quot;);
        print('${satur}');
      },
      minWidth: 100.0,
      height: 42.0,
      child: const Text(
        'Evaluate',
        style: TextStyle(color: Colors.white, fontSize: 20),
      ),
    ),
  ),
  </code></pre>
  <p>Your help will be appreciated.</p>