📜  Flutter为cntaoiner添加边框 - 任何代码示例

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

代码示例1
new Container(
  margin: const EdgeInsets.all(15.0),
  padding: const EdgeInsets.all(3.0),
  decoration: BoxDecoration(
    border: Border.all(color: Colors.blueAccent)
  ),
  child: Text("My Awesome Border"),
)