title: Int Value in a TextFormField Flutter
body: <p>I wrote this textformfield for userdata</p>
  <pre><code>TextFormField(
                      initialValue: datiUtente.peso.toString(),
                      validator: (val) =&gt;
                          val.isEmpty ? 'inserisci il tuo peso' : null,
                      onChanged: (val) =&gt; setState(() =&gt; _currentPeso = val),
                    ),
  </code></pre>
  <p>For name ed surname is ok, but if I want to use this for an int value how can I do it? I tried to like this but doesn't work</p>