title: Iterating through a list to render multiple widgets in Flutter?
body: <p>I have a list of strings defined like this:</p>
  <pre><code>var list = [&quot;one&quot;, &quot;two&quot;, &quot;three&quot;, &quot;four&quot;]; 
  </code></pre>
  <p>I want to render the values on the screen side by side using text widgets. I have attempted to use the following code to attempt this:</p>
  <pre><code>for (var name in list) {
     return new Text(name);
  }
  </code></pre>
  <p>However, when I run this code, the for loop only runs once and there is only one text widget that gets rendered that says <code>one</code> (the first item in the list). Additionally, when I add a log message inside my for loop, it gets triggered once as well. Why isn't my for loop looping based on the length of the list? It seems to run only once and then quit.</p>