feat: adjust lyric page blurriness and player playbutton

This commit is contained in:
Kingkor Roy Tirtho 2023-04-06 13:07:56 +06:00
parent b2c4ea13f6
commit 54d5907f14
2 changed files with 5 additions and 4 deletions

View File

@ -145,8 +145,9 @@ class PlayerControls extends HookConsumerWidget {
horizontal: 8.0, horizontal: 8.0,
), ),
child: DefaultTextStyle( child: DefaultTextStyle(
style: theme.textTheme.bodySmall! style: theme.textTheme.bodySmall!.copyWith(
.copyWith(color: dominantColor?.titleTextColor), color: palette?.dominantColor?.bodyTextColor,
),
child: Row( child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween, mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [ children: [
@ -204,7 +205,7 @@ class PlayerControls extends HookConsumerWidget {
foregroundColor: dominantColor?.titleTextColor ?? foregroundColor: dominantColor?.titleTextColor ??
theme.colorScheme.onPrimary, theme.colorScheme.onPrimary,
padding: const EdgeInsets.all(12), padding: const EdgeInsets.all(12),
iconSize: 30, iconSize: 24,
), ),
onPressed: Actions.handler<PlayPauseIntent>( onPressed: Actions.handler<PlayPauseIntent>(
context, context,

View File

@ -73,7 +73,7 @@ class LyricsPage extends HookConsumerWidget {
), ),
), ),
child: BackdropFilter( child: BackdropFilter(
filter: ImageFilter.blur(sigmaX: 50, sigmaY: 50), filter: ImageFilter.blur(sigmaX: 15, sigmaY: 15),
child: Column( child: Column(
children: [ children: [
const SizedBox(height: 5), const SizedBox(height: 5),