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