fix(mobile): invisible ink splashes in asset sheet (#28756)

pull/28771/head
Timon 2026-06-02 17:37:20 +02:00 committed by GitHub
parent 59750dad7d
commit 109e0a7ad0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 10 deletions

View File

@ -63,16 +63,19 @@ class SheetTile extends ConsumerWidget {
subtitleWidget = null; subtitleWidget = null;
} }
return ListTile( return Material(
dense: true, type: MaterialType.transparency,
visualDensity: VisualDensity.compact, child: ListTile(
title: GestureDetector(onLongPress: () => copyTitle(context, ref), child: titleWidget), dense: true,
titleAlignment: ListTileTitleAlignment.center, visualDensity: VisualDensity.compact,
leading: leading, title: GestureDetector(onLongPress: () => copyTitle(context, ref), child: titleWidget),
trailing: trailing, titleAlignment: ListTileTitleAlignment.center,
contentPadding: leading == null ? null : const EdgeInsets.only(left: 25), leading: leading,
subtitle: subtitleWidget, trailing: trailing,
onTap: onTap, contentPadding: leading == null ? null : const EdgeInsets.only(left: 25),
subtitle: subtitleWidget,
onTap: onTap,
),
); );
} }
} }