List names = ['Albert', 'Alyssa', 'Andrew'];
You can also establish fixed-length Lists, which are optimized for performance if you know how many values it should have.
List names = new List(3); // => [ null, null, null] names = 'Alyssa'; // => [ null, Alyssa, null ]
Looking up values in a List uses bracket notation:
print(names); // => 'Alyssa'
Lists can be strongly typed:
List names<String> = ; List.add('Albert'); List.add(12); // throws error
List's extend the
There are a lot of methods, and variations of many... Dart Lang List class API