title: Instance of 'Future<dynamic>' flutter error
body: <p>guys, I have a problem to get value from this future function.</p>
  <pre><code>Future getData() async {
      http.Response response = await http.get(siteAddress + '?apikey=' + apiKey);
      if (response.statusCode == 200) {
        var data = jsonDecode(response.body);
        double price = data['rate'];
        String finalData = price.toStringAsFixed(0);
        return finalData;
      }else
        print(response.statusCode);
    }
  
  Text(getData.toString());
  </code></pre>
  <p>when I use this in Text widget I get Instance of 'Future' error.</p>