utils/popup library

Enums

PopupType

Constants

kChatPopupMenuWidth → const double
聊天 / 附加气泡菜单的固定宽度。会话列表的桌面菜单另按设计稿取值。

Functions

showPopupMenu(BuildContext context, PopupType type, {List<PopupMenuEntry<String>>? items, bool? isPin, bool? isMute, bool? canRecall, bool? canQuote, bool? canCopy, bool? canEdit, String editLabel = '编辑', bool? canForward, bool canMulti = true, bool? canSpeechToText, bool? canCancelSpeechToText, bool canMessageReaction = false, String messageReactionLabel = '表情回应', bool conversationIsSystem = false, Offset? globalPosition, BuildContext? panelContext, RouteSettings? routeSettings, bool desktopConvoMenu = false}) → Future<String?>