List <String> list = ['one', 'two', 'three', 'four']; List<Widget> widgets = list.map((name) => new Text(name)).toList();. 将此读为“将每个 name 输入 list 并映射 ...
確定! 回上一頁