📜  将行大小设置为最大颤动 - Dart 代码示例

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

代码示例1
// Set Expanded height to Row height

IntrinsicHeight(
        child: Row(crossAxisAlignment: CrossAxisAlignment.stretch, children: [
          Expanded(
            child: Column(children: [
              Container(height: 120.0, color: Colors.yellow),
              Container(height: 100.0, color: Colors.cyan),
            ]),
          ),
          Expanded(child: Container(color: Colors.amber)),
        ]),