title: Flutter : Dynamic Text Field show same value?
body: <p>I have this page as a tab page ,showing mapping data form server ,and contain two text field and bottom for each row to insert them in database ,when i type number in one text filed ,all text fields show same value as shown in image below :</p>
  <p>page code :</p>
  <pre><code>import 'dart:convert';
  import 'package:flutter/material.dart';
  import 'package:shared_preferences/shared_preferences.dart';
  import 'package:http/http.dart' as http;
  import '../models/matchs.dart';
  class Home extends StatefulWidget {
    @override
    _HomeState createState() =&gt; _HomeState();
  }
  class _HomeState extends State&lt;Home&gt; {
    var logined_user;
    var logined_email;
    TextEditingController _resultController1 = new TextEditingController();
    TextEditingController _resultController2 = new TextEditingController();
    getuser() async {
      SharedPreferences preferences = await SharedPreferences.getInstance();
  
      logined_user = preferences.getString('username');
      logined_email = preferences.getString('email');
      if (logined_user != null) {
        setState(() {
          logined_user = preferences.getString('username');
          logined_email = preferences.getString('email');
        });
      }
    }
    @override
    void initState() {
      getuser();
  
      super.initState();
    }
    //App Start
    @override
    Widget build(BuildContext context) {
      List matchs = [];
      Future&lt;List&gt; get_matchs() async {
        var url =
            'https://technosat-iq.com/myexpect/api/controller/matchs/show_matchs.php?s_id=1';
        var response = await http.get(url);
        var data = jsonDecode(response.body);
        print(data);
        for (var x in data) {
          Match newmatch = Match(
            x['s_id'],
            x['week_id'],
            x['league_name'],
            x['home_team'],
            x['away_team'],
            x['home_goals'],
            x['away_goals'],
            x['m_date'],
          );
          matchs.add(newmatch);
        }
        return matchs;
      }
      return FutureBuilder(
          future: get_matchs(),
          builder: (context, snapshot) {
            if (snapshot.data == null) {
              return Scaffold(
                body: Container(
                  decoration: BoxDecoration(
                    color: Colors.orange[100],
                  ),
                  child: Center(
                    child: Text(&quot;Loading&quot;),
                  ),
                ),
              );
            } else {
              return Container(
                color: Colors.indigo[200],
                child: ListView(
                  children: [
                    SizedBox(
                      height: 10,
                    ),
                    Text(
                      'Active Games',
                      style: TextStyle(fontSize: 22),
                      textAlign: TextAlign.center,
                    ),
                    Column(
                      children: snapshot.data.map&lt;Widget&gt;((item) {
                        return Column(
                          children: [
                            SizedBox(
                              height: 10,
                            ),
                            Text(item.m_date),
                            Table(
                              columnWidths: {
                                0: FlexColumnWidth(2),
                                1: FlexColumnWidth(2),
                                2: FlexColumnWidth(2),
                                3: FlexColumnWidth(2),
                              },
                              children: [
                                TableRow(
                                    decoration: BoxDecoration(
                                      color: Color.fromRGBO(220, 100, 200, 0.2),
                                    ),
                                    children: [
                                      Container(
                                          alignment: Alignment.center,
                                          height: 50,
                                          child: Text(
                                            item.home_team,
                                            textAlign: TextAlign.center,
                                            style: TextStyle(fontSize: 20),
                                          )),
                                      Container(
                                        alignment: Alignment.center,
                                        height: 50,
                                        child: Image(
                                          image: AssetImage('./assets/flags/' +
                                              item.home_team +
                                              '.png'),
                                          width: 30,
                                        ),
                                      ),
                                      Container(
                                        padding:
                                            EdgeInsets.only(top: 10, bottom: 10),
                                        alignment: Alignment.center,
                                        height: 50,
                                        child: TextField(
                                            controller: _resultController1,
                                            keyboardType: TextInputType.number,
                                            decoration: InputDecoration(
                                              enabledBorder: OutlineInputBorder(
                                                  borderSide: BorderSide(
                                                color: Colors.grey[700],
                                              )),
                                              focusedBorder: OutlineInputBorder(
                                                  borderSide: BorderSide(
                                                color: Colors.grey[700],
                                              )),
                                            )),
                                      ),
                                      Container(
                                          alignment: Alignment.center,
                                          height: 50,
                                          padding: EdgeInsets.all(10),
                                          child: RaisedButton(
                                            onPressed: () {
                                              print(_resultController1.text);
                                              print(_resultController2.text);
                                            },
                                            child: Text('Insert'),
                                          ))
                                    ]),
                                TableRow(
                                    decoration: BoxDecoration(
                                      color: Color.fromRGBO(220, 100, 200, 0.1),
                                    ),
                                    children: [
                                      Container(
                                          alignment: Alignment.center,
                                          height: 50,
                                          child: Text(item.away_team,
                                              textAlign: TextAlign.center,
                                              style: TextStyle(fontSize: 20))),
                                      Container(
                                        alignment: Alignment.center,
                                        height: 50,
                                        child: Image(
                                          image: AssetImage('./assets/flags/' +
                                              item.away_team +
                                              '.png'),
                                          width: 30,
                                        ),
                                      ),
                                      Container(
                                        padding:
                                            EdgeInsets.only(top: 10, bottom: 10),
                                        alignment: Alignment.center,
                                        height: 50,
                                        child: TextField(
                                            keyboardType: TextInputType.number,
                                            controller: _resultController2,
                                            decoration: InputDecoration(
                                              enabledBorder: OutlineInputBorder(
                                                  borderSide: BorderSide(
                                                color: Colors.grey[700],
                                              )),
                                              focusedBorder: OutlineInputBorder(
                                                  borderSide: BorderSide(
                                                color: Colors.grey[700],
                                              )),
                                            )),
                                      ),
                                      Container()
                                    ])
                              ],
                            ),
                          ],
                        );
                      }).toList(),
                    ),
                  ],
                ),
              );
            }
          });
    }
  }
  </code></pre>
  <p>How can I show the value in one text filed?
  Note : when i click on insert the values printed successfully</p>
  <p><a href="https://i.stack.imgur.com/4Ja4a.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4Ja4a.png" alt="enter image description here" /></a></p>