void main() { List arr = [1, 2, 3, 4, 5]; int sums = 0; List all = []; int length = arr.length; for (int i = 0; i