草庐IT

Dart flutter : How to use multiple statements in ternary inside a flutter widget

coder 2023-07-22 原文

<分区>

是否可以写这样一行,并且在这一行中我想改变一个变量值?

opacity: condition == true ? 1, stringName ='Steve' : 0

有关Dart flutter : How to use multiple statements in ternary inside a flutter widget的更多相关文章

随机推荐