chore: Follow up list item click behavior
This commit is contained in:
parent
b7c4e401d7
commit
87d3d0feed
1 changed files with 13 additions and 10 deletions
|
|
@ -173,16 +173,19 @@ class ChatListItem extends StatelessWidget {
|
||||||
Positioned(
|
Positioned(
|
||||||
top: 0,
|
top: 0,
|
||||||
right: 0,
|
right: 0,
|
||||||
child: AnimatedScale(
|
child: GestureDetector(
|
||||||
duration: FluffyThemes.animationDuration,
|
onTap: () => onLongPress?.call(context),
|
||||||
curve: FluffyThemes.animationCurve,
|
child: AnimatedScale(
|
||||||
scale: listTileHovered ? 1.0 : 0.0,
|
duration: FluffyThemes.animationDuration,
|
||||||
child: Material(
|
curve: FluffyThemes.animationCurve,
|
||||||
color: backgroundColor,
|
scale: listTileHovered ? 1.0 : 0.0,
|
||||||
borderRadius: BorderRadius.circular(16),
|
child: Material(
|
||||||
child: const Icon(
|
color: backgroundColor,
|
||||||
Icons.arrow_drop_down_circle_outlined,
|
borderRadius: BorderRadius.circular(16),
|
||||||
size: 18,
|
child: const Icon(
|
||||||
|
Icons.arrow_drop_down_circle_outlined,
|
||||||
|
size: 18,
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue