pull/24485/head
goalie2002 2025-12-08 19:38:53 -08:00
parent c3c4157d2b
commit 0dace87ba6
1 changed files with 9 additions and 1 deletions

View File

@ -28,6 +28,8 @@ class ThumbnailTile extends ConsumerWidget {
final bool showStorageIndicator;
final bool lockSelection;
final int? heroOffset;
final bool enablePlaceholder = false;
final bool showIndicators = false;
@override
Widget build(BuildContext context, WidgetRef ref) {
@ -47,7 +49,13 @@ class ThumbnailTile extends ConsumerWidget {
return Stack(
children: [
Container(color: lockSelection ? context.colorScheme.surfaceContainerHighest : assetContainerColor),
Container(
color: lockSelection
? context.colorScheme.surfaceContainerHighest
: isSelected
? assetContainerColor
: Colors.transparent,
),
AnimatedContainer(
duration: Durations.short4,
curve: Curves.decelerate,