📜  颤振中的比例 - Dart 代码示例

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

代码示例1
// Create a Orange Container with 0.2 device width and 0.5 device height
FractionallySizedBox(
    widthFactor: 0.2,
    heightFactor: 0.5,
    child: Container(
      color: Colors.orange,
    ),