📜  对齐小部件 - 任何代码示例

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

代码示例2
Center(
  child: Container(
    height: 120.0,
    width: 120.0,
    color: Colors.blue[50],
    child: Align(
      alignment: Alignment(0.5, 0.6),
      child: FlutterLogo(
        size: 60,
      ),
    ),
  ),
)