📜  如何在颤动中为小部件添加阴影? - 飞镖代码示例

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

代码示例1
Container(
                decoration: BoxDecoration(
                  boxShadow: [
                    BoxShadow(
                      color: Colors.grey.withOpacity(0.4),
                      spreadRadius: 2,
                      blurRadius: 8,
                    ),
                  ],
                ),
               ),