How to generate a variable number of children?

I'm curious if there's an easy way to generate a list of components from a number. I'm passing in a number of elements that I'd like to generate in a ListView but there doesn't seem to be a straightforward way of generating a number of generic components. What's the best way to go about doing this?

2
11 replies