我看过这段代码,需要对“??”进行解释。我知道三元运算符,例如“?” 然后是 true 条件,“:”之后是 false/else 条件。但是双“??”是什么意思??
提前致谢
widget.secondaryImageTop ?? (widget.height / 2) - (widget.secondaryImageHeight / 2); ```
operators ternary dart flutter
dart ×1
flutter ×1
operators ×1
ternary ×1