chore: Follow up spaces design
This commit is contained in:
parent
47d1165b45
commit
1b95694a58
2 changed files with 18 additions and 1 deletions
|
|
@ -652,7 +652,11 @@ class ChatListController extends State<ChatList>
|
||||||
name: displayname,
|
name: displayname,
|
||||||
),
|
),
|
||||||
const SizedBox(width: 12),
|
const SizedBox(width: 12),
|
||||||
Text(displayname),
|
Text(
|
||||||
|
displayname,
|
||||||
|
style:
|
||||||
|
TextStyle(color: Theme.of(context).colorScheme.onSurface),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
|
|
@ -168,6 +168,19 @@ class ChatListItem extends StatelessWidget {
|
||||||
onTap: () => onLongPress?.call(context),
|
onTap: () => onLongPress?.call(context),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
if (hovered)
|
||||||
|
Positioned(
|
||||||
|
top: -2,
|
||||||
|
right: -2,
|
||||||
|
child: Material(
|
||||||
|
color: backgroundColor,
|
||||||
|
borderRadius: BorderRadius.circular(16),
|
||||||
|
child: const Icon(
|
||||||
|
Icons.arrow_drop_down_circle_outlined,
|
||||||
|
size: 18,
|
||||||
|
),
|
||||||
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue