title: Flutter FutureBuilder Not Updating
body: <p>I have a Flutter FutureBuilder that needs to be updated with new data given by the user. However, the UI elements in the FutureBuilder do not update and still contain the old values. I have checked through print statements that the new data is correctly loaded. The issue seems to be with FutureBuilder rebuilding the widget when the new data is loaded. Any help is appreciated. </p>
  
  <pre><code>Future&lt;List&lt;PollItem&gt;&gt; fetchPost(String loc) async {
    return new Future(() async {
  
      final response = await http
          .post(restip + '/getPosts',
          body: {"data": loc});
  
      if (response.statusCode == 200) {
        print(response.body);
  
        // If the call to the server was successful, parse the JSON
        // This function adds json to list
        PollItem.fromJson(json.decode(response.body));
  
        // list is a list of posts gathered based on the string criteria
        return list;
      } else {
        throw Exception('Failed to load polls');
      }
    });
  }
  
  class PollState extends State&lt;Poll&gt; {
    TextEditingController textc = new TextEditingController();
  
    static String dropDowntext = "City";
    String _name = "Search";
    final _names = [''];
  
  
    Widget build(BuildContext context) {
  
      print("dropdown"+dropDowntext);
      textc.text = _name;
      print(dropDowntext);
      return FutureBuilder&lt;List&lt;PollItem&gt;&gt;(
        future: fetchPost(dropDowntext),
        initialData: [PollItem()],
        builder: (context, snapshot) {
          if (snapshot.hasData) {
            print(snapshot.data[0].question);
            });
  }
  </code></pre>
  
  <p>Here is my global file:</p>
  
  <pre><code> List&lt;PollItem&gt; list = new List();
        factory PollItem.fromJson(Map&lt;String, dynamic&gt; json) {
          int len = json['length'];
          if(listNum!=len) {
            listNum = len;
            list.clear();
            for (int i = 0; i &lt; len; i++) {
              list.add(PollItem(
                answer1: json[i.toString()]['answer1'],
                location: json[i.toString()]['location']
  
              )
              );
            }
          }
          }
  </code></pre>