if I have this List in Flutter :
var myList = ["a","b" , "c" , "d"];
How to create new list from myList by random index for each value like :
["b","c" , "a" , "d"];
or :
["a","c" , "d" , "b"];
or any other random list
Aucun commentaire:
Enregistrer un commentaire