Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR DART

multi-dimensional list in dart

int a = 3;
int b = 3;

var tList = List.generate(a, (i) => List(b), growable: false);
print(tList); 
// [[null, null, null], [null, null, null], [null, null, null]]
Source by medium.com #
 
PREVIOUS NEXT
Tagged: #list #dart
ADD COMMENT
Topic
Name
8+3 =