chore: Follow up listtilehovered

This commit is contained in:
Krille 2024-07-15 16:57:56 +02:00
commit 282188f574
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -170,10 +170,13 @@ class ChatListItem extends StatelessWidget {
onTap: () => onLongPress?.call(context), onTap: () => onLongPress?.call(context),
), ),
), ),
if (listTileHovered) Positioned(
Positioned( top: -2,
top: -2, right: -2,
right: -2, child: AnimatedScale(
duration: FluffyThemes.animationDuration,
curve: FluffyThemes.animationCurve,
scale: listTileHovered ? 1.1 : 1.0,
child: Material( child: Material(
color: backgroundColor, color: backgroundColor,
borderRadius: BorderRadius.circular(16), borderRadius: BorderRadius.circular(16),
@ -183,6 +186,7 @@ class ChatListItem extends StatelessWidget {
), ),
), ),
), ),
),
], ],
), ),
), ),