Use proper phone sheets for chat and Files menus

On phones the chat's More menu, chat list rows and Files entries open a
Material bottom sheet headed by the chat or file, with full-width icon
rows and destructive actions last in the error colour; desktop menus
show icons, a minimum width and destructive actions after a divider.
The chat menu drops Run command and Open chats, keeps a single terminal
entry and lists Close pane last.
This commit is contained in:
2026-11-13 01:14:12 +00:00
parent 26e68140fd
commit 046de9db4d
18 changed files with 668 additions and 126 deletions
@@ -106,6 +106,8 @@ class ChatThreadHeader extends StatelessWidget {
if (action is! SegmentedOverflowable) action,
if (settingsEntry != null || menuActions.isNotEmpty)
SegmentedMoreButton(
sheetTitle: title.isEmpty ? 'Chat' : title,
sheetSubtitle: folder.isEmpty ? null : folder,
entries: [
?settingsEntry,
for (final action in menuActions) action.overflowEntry,