Improve blur

This commit is contained in:
Pierre HUBERT 2022-03-23 21:32:33 +01:00
parent c96bd3d14d
commit fce5cc326e

View File

@ -50,9 +50,12 @@ class _MusicPlayerState extends State<MusicPlayer> {
child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 10, sigmaY: 10),
child: Container(
color: Colors.black.withOpacity(0.3),
color: Colors.black.withOpacity(0.8),
alignment: Alignment.center,
child: Container(),
child: SizedBox(
width: constraints.maxWidth,
height: constraints.maxHeight,
),
),
)),