list generate flutter in range code example Example: flutter list.generate final items = List.generate(10000, (i) => "Item $i");