Support more mouse related actions

This commit is contained in:
2024-10-16 00:02:18 +08:00
parent 1c26944a05
commit e5381dd5e0
3 changed files with 68 additions and 47 deletions

View File

@ -47,16 +47,19 @@ class ChatListShell extends StatelessWidget {
direction: Axis.horizontal,
divider: ResizableDivider(
thickness: 0.3,
color: Theme.of(context).dividerColor,
color: Theme.of(context).dividerColor.withOpacity(0.3),
),
children: [
const ResizableChild(
minSize: 280,
maxSize: 520,
size: ResizableSize.pixels(320),
size: ResizableSize.pixels(360),
child: ChatList(),
),
ResizableChild(child: child ?? const EmptyPagePlaceholder()),
ResizableChild(
minSize: 280,
child: child ?? const EmptyPagePlaceholder(),
),
],
),
);