📜  Flutte 中容器的圆角边框 - Dart 代码示例

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

代码示例1
Container(
  decoration: BoxDecoration(
    border: Border.all(
      color: Colors.red[500],
    ),
    borderRadius: BorderRadius.all(Radius.circular(20))
  ),
  child: ...
)