Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart shuffle list

void main() {
  List<int> list = [1, 2, 3];
  
  list.shuffle();
  
  print(list); // prints [2, 1, 3] as example
  
}
 
PREVIOUS NEXT
Tagged: #dart #shuffle #list
ADD COMMENT
Topic
Name
1+8 =