From fce5cc326ee2a8533ffb93d246470a6158a6c40e Mon Sep 17 00:00:00 2001 From: Pierre Hubert Date: Wed, 23 Mar 2022 21:32:33 +0100 Subject: [PATCH] Improve blur --- lib/ui/music_player.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ui/music_player.dart b/lib/ui/music_player.dart index 54fc447..16aff89 100644 --- a/lib/ui/music_player.dart +++ b/lib/ui/music_player.dart @@ -50,9 +50,12 @@ class _MusicPlayerState extends State { 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, + ), ), )),