📜  Flutter 中的反向 for 循环 - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:02.208000             🧑  作者: Mango

代码示例2
import "dart:io";
void main() {
  var list = ['one', 2, 3.14, true];
  print("reversed for loop");
  for (var value in list.reversed) {
    stdout.write(" $value ");
  }
}