title: fill a listview with textformfield
body: <p>Basically i want to fill Listview with a Textformfield. if anyone could guide me through that</p>
  <h2>git link for full code</h2>
  <p>github.com/Nyctophilus/Thoth_Script
  i've added some changes my main issue now all tiles in the listview taking the same value. it don't read my setState change! and the FAB too</p>
  <h2>List Code</h2>
  <pre><code>  TextEditingController Tcon = TextEditingController();
  
    Widget _list(context, index) {
      if (index &gt; 0) {
        return ListView.builder(
          itemCount: index,
          itemBuilder: (BuildContext context, int index) {
            return ListTile(
              title: Text('Task: ${index + 1}  $Tcon'),
            );
          },
        );
      } else {
        return ListView(
          shrinkWrap: true,
          padding: const EdgeInsets.all(30.0),
          children: const &lt;Widget&gt;[
            Text(&quot;Add task...&quot;),
          ],
        );
      }
    }
  </code></pre>
  <h2>Text field Code</h2>
  <pre><code>        child: TextField(
            textAlign: TextAlign.center,
            controller: Tcon,
            onSubmitted: (value) {
              setState(() {
                Tcon.text = value;
                index++;
              });
            },
          ),
  </code></pre>
  <p><a href="https://i.stack.imgur.com/dA1xU.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dA1xU.png" alt="This is what's looks like now" /></a></p>