From 8579f68554065ee2bc07905811e52095b84bfff6 Mon Sep 17 00:00:00 2001 From: zarzet Date: Mon, 13 Jul 2026 07:30:34 +0700 Subject: [PATCH] feat(artist): shimmer skeleton for album and popular-track cover placeholders Covers loaded as flat gray boxes while the image downloaded; the album cards and popular list now shimmer like the rest of the loading states. --- lib/screens/artist_screen.dart | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/lib/screens/artist_screen.dart b/lib/screens/artist_screen.dart index 99122dd4..64be4115 100644 --- a/lib/screens/artist_screen.dart +++ b/lib/screens/artist_screen.dart @@ -1537,10 +1537,12 @@ class _ArtistScreenState extends ConsumerState width: 48, height: 48, borderRadius: BorderRadius.circular(4), - placeholder: (context, url) => Container( - width: 48, - height: 48, - color: colorScheme.surfaceContainerHighest, + placeholder: (context, url) => ShimmerLoading( + child: Container( + width: 48, + height: 48, + color: colorScheme.surfaceContainerHighest, + ), ), errorWidget: (context, url, error) => Container( width: 48, @@ -1765,8 +1767,10 @@ class _ArtistScreenState extends ConsumerState fit: BoxFit.cover, memCacheWidth: (tileSize * 2).round(), memCacheHeight: (tileSize * 2).round(), - placeholder: (context, url) => Container( - color: colorScheme.surfaceContainerHighest, + placeholder: (context, url) => ShimmerLoading( + child: Container( + color: colorScheme.surfaceContainerHighest, + ), ), errorWidget: (context, url, error) => Container( color: colorScheme.surfaceContainerHighest,