📜  颤振装配盒 - Dart 代码示例

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

代码示例1
Container(
      height: 200,
      width: 200,
      color: Colors.red,
      child: FittedBox(
        alignment: Alignment.center,
        clipBehavior: Clip.none,
        child: Image.network('https://flutter.github.io/assets-for-api-docs/assets/widgets/owl-2.jpg'),
        fit: BoxFit.fill,
      ),
    ),