Skip to content

Instantly share code, notes, and snippets.

@codingpizza
Created October 2, 2019 18:31
Creating a list of Integers in Dart
List numberList = List.of({1,2,3,4,5});
var firstNumber = numberList[0];
var elementAt = numberList.elementAt(0);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment