flutter毛玻璃效果

ClipRect(
   child: BackdropFilter(
      filter: ImageFilter.blur(sigmaX: 3.0, sigmaY: 3.0),
      child: Opacity(
         opacity: 0.3,
         child: Container(
            decoration: BoxDecoration(color: Color(0xff000000)),
        	)
              ),
            ),
          )

你可能感兴趣的:(flutter,html,前端)