title: Flutter - Fill future list from json
body: <p>I want to fill a list from json. </p>
  
  <pre><code>Future&lt;List&lt;Titles&gt;&gt; fetchTitle() async {
    String url = "https://jsonplaceholder.typicode.com/posts";
  
    final response = await http.get(url,headers: {'Content-Type': 'application/json'});
    return titlesFromJson(utf8.decode(response.bodyBytes));
  </code></pre>
  
  <p>How to fill below list using fetchTitle method. I want to add "title" item from json. </p>
  
  <pre><code>final List myLists = [];
  
  
  Expanded(
              child: GridView.count(
                crossAxisCount: 2,
                crossAxisSpacing: 10,
                mainAxisSpacing: 10,
                childAspectRatio: 1,
                padding: EdgeInsets.only(left: 20, top: 20, right: 20),
                children:List.generate(myLists.length, (index) {
                  return InkWell(
  </code></pre>