title: Flutter new Image.network foreach in ListView
body: <p>I'm totally new to Flutter and Java based languages in general, coming from PHP background myself. This is going to be a very beginner question:</p>
  
  <p>I'm creating a new Network.image via ListView like this:</p>
  
  <pre><code>new Image.network(snapshot.data[index].imageurl.toString() ?? ''),
  </code></pre>
  
  <p>ok, works great as the snapshot.data[index].imageurl is taken as:</p>
  
  <pre><code>data ['content'][0]['imageurl']
  </code></pre>
  
  <p>and defined as:</p>
  
  <pre><code>String imageurl;
  </code></pre>
  
  <p>However what I'd like to do is to take the whole array:</p>
  
  <pre><code> data ['content']['imageurl']
  </code></pre>
  
  <p>which I suppose should be defined as:</p>
  
  <pre><code>List imageurl;
  </code></pre>
  
  <p>and loop through it to create own Image.network for each entry in array. </p>
  
  <p>I have tried multiple things, including:</p>
  
  <pre><code>return new Column(
  crossAxisAlignment: CrossAxisAlignment.start,
     children: &lt;Widget&gt;[
        snapshot.data[index].imageurl.forEach((data) {
          new Image.network(snapshot.data[index].imageurl.toString() ?? ''),
  }
  </code></pre>
  
  <p>But foreEach loop is giving me an error:</p>
  
  <p>"The expression here has a type of 'void', and therefore  cannot be used.</p>
  
  <p>How can I actually achieve this? Out of ideas here.</p>