📜  中心子容器 - CSS 代码示例

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

代码示例1
Container(
        width: double.infinity,
        height: 500,
        color: Colors.amber,
        alignment: Alignment.center,
        child: Container(
          width: 200,
          height: 200,
          color: Colors.red,
        ),
),