Code/Dart & Flutter

Dart 2.6에서 가능한 코드

kolbe_starziki 2020. 2. 9. 20:14

return if(condition) RedContainer() else BlueContainer();

 

return Column( children: [
for (Map<String, Object> map in widget.list)
buildNotice()])