Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

dart slice

  List a = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
  
  List b = a.sublist(5, 10);
  
  print(b); //prints [4, 5, 6, 7] 
Source by discoverflutter.com #
 
PREVIOUS NEXT
Tagged: #dart #slice
ADD COMMENT
Topic
Name
7+3 =