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