mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-19 04:15:09 +00:00
chore: Follow up listtilehovered
This commit is contained in:
parent
54ba4544af
commit
282188f574
1 changed files with 8 additions and 4 deletions
|
@ -170,10 +170,13 @@ class ChatListItem extends StatelessWidget {
|
|||
onTap: () => onLongPress?.call(context),
|
||||
),
|
||||
),
|
||||
if (listTileHovered)
|
||||
Positioned(
|
||||
top: -2,
|
||||
right: -2,
|
||||
Positioned(
|
||||
top: -2,
|
||||
right: -2,
|
||||
child: AnimatedScale(
|
||||
duration: FluffyThemes.animationDuration,
|
||||
curve: FluffyThemes.animationCurve,
|
||||
scale: listTileHovered ? 1.1 : 1.0,
|
||||
child: Material(
|
||||
color: backgroundColor,
|
||||
borderRadius: BorderRadius.circular(16),
|
||||
|
@ -183,6 +186,7 @@ class ChatListItem extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
|
Loading…
Reference in a new issue