I understand I can code like single loop to build widget like;

```
final icon =["lock.png","map.png","stake.png","cheer.png","sushi.png"];
// omit
Row(
  mainAxisAlignment: MainAxisAlignment.spaceBetween,
  children: [
        for(int i = 0; i < icon.length; i++) ... {
          selectIcon(id: 1, iconPass: icon[i]),
        },
  ],
),

```

But when those widgets structured as nested like:

```
final icon =["lock.png","map.png","stake.png","cheer.png","sushi.png","drink.png","toy.png","christmas.png","newyear.png","flag.png")];
//omit,
child: Column(
  children: [
    Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,
      children: [
        selectIcon(id: 1, iconPass: "lock.png"),
        selectIcon(id: 1, iconPass: "map.png"),
        selectIcon(id: 1, iconPass: "sushi.png"),
        selectIcon(id: 1, iconPass: "stake.png"),
        selectIcon(id: 1, iconPass: "cheer.png"),
      ],
    ),
    Container(
      margin: const EdgeInsets.only(top:10),
      child: Row(
        mainAxisAlignment: MainAxisAlignment.spaceBetween,
        children: [
          selectIcon(id: 1, iconPass: "drink.png"),
          selectIcon(id: 1, iconPass: "toy.png"),
          selectIcon(id: 1, iconPass: "christmas.png"),
          selectIcon(id: 1, iconPass: "newyear.png"),
          selectIcon(id: 1, iconPass: "flag.png"),
        ],
      ),
    ),
  ]
);

```

How can I build with nested widget with loop in flutter / Dart ? or is it unacceptable ?