📜  颤动容器边框半径 - 任何代码示例

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

代码示例6
Container(
  child: Text(
    'This is a Container',
    textScaleFactor: 2,
    style: TextStyle(color: Colors.black),
  ),
  decoration: BoxDecoration(
    borderRadius: BorderRadius.circular(10),
    color: Colors.white,
    boxShadow: [
      BoxShadow(color: Colors.green, spreadRadius: 3),
    ],
  ),
  height: 50,
),