for (int i = 0; i < 3; i++) {
print(i);
}
myList = [1,2,3,4,5]
for (int num in myList) {
print(num * 2);
}
void main() {
var obj = [12,13,14];
for (var prop in obj) {
print(prop);
}
}
final List<int> x = [10, 20, 30];
for (var number in x) {
debugPrint(number);
// flutter: 10
// flutter: 20
// flutter: 30
}
void main() {
for(var temp, i = 0, j = 1; j<30; temp = i, i = j, j = i + temp) {
print('${j}');
}
}