BlurBox constructor
const
BlurBox({})
BlurBox 构造函数。
你可以自定义圆角半径、背景色、边框颜色和透明度。
Implementation
const BlurBox({
super.key,
this.radius = 30.0, // 默认圆角半径
this.color = Colors.white, // 默认背景颜色
this.borderColor = Colors.white, // 默认边框颜色
this.opacity = 0.3, // 默认透明度
this.child,
});