📜  if then else inside child in flutter - Dart 代码示例

📅  最后修改于: 2022-03-11 14:48:08.057000             🧑  作者: Mango

代码示例3
Container(
  color: Colors.white,
  child: ('condition')
  ? Widget1(...)
  : Widget2(...)
)