title: Flutter how to do for inside for loop with list widget?
body: <p>i need to do for inside for loop inside widgets. i create two widgets and i called it form another widget. it says "Not in range 0..6, inclusive:7"</p>
  
  <p>Code :</p>
  
  <pre><code>List&lt;Widget&gt; ListMyClips(i) {
      List&lt;Widget&gt; list = new List();
      var lengthItems = widget.data["recommended"][7]["blocks"][i]["items"].length;
      for (var c = 0; c &lt;= lengthItems; i++) {
          list.add(
              ClipRRect(
                  borderRadius: new BorderRadius.circular(100.0),
                  child: Image.network(
                      first[widget.data["recommended"][7]["blocks"][i]["items"][c]
                          ["id"]]["image"]["full"],
                      width: 56,
                  ),
              ),
          );
      }
  
      return list;
  }
  
  List &lt;Widget&gt; ListMyWidgets() {
      var lengthBlocks = widget.data["recommended"][7]["blocks"].length;
      List &lt;Widget&gt; list = new List();
      for (var i = 0; i &lt;= lengthBlocks; i++) {
          list.add(ListTile(
              trailing: Icon(FontAwesomeIcons.chevronRight),
              title: Row(
                  children: ListMyClips(i),
              ),
          ));
      }
      return list;
  }
  </code></pre>
  
  <p>what i need is, dynamically for inside for loop which it will create list of list tiles.</p>