Flutter - " control-flow-collections' experiment to be enabled "
environment sdk 改成2.6.0 後,重啟就不會出現錯誤了。
environment:
sdk: ">=2.8.0 <3.0.0"
items: [
for (var i in currenciesList)
DropdownMenuItem(
child: Text('$i'),
value: '$i',
)],
environment sdk 改成2.6.0 後,重啟就不會出現錯誤了。
environment:
sdk: ">=2.8.0 <3.0.0"
items: [
for (var i in currenciesList)
DropdownMenuItem(
child: Text('$i'),
value: '$i',
)],
Comments
Post a Comment