chat_context_menu library
Classes
- ChatContextMenuHorizontalShape
- 横向容器的箭头形状 Arrow shape of the horizontal container
- ChatContextMenuVerticalShape
- 容器的箭头形状 Arrow shape of the container
- ChatContextMenuWrapper
- ChatSelectableText
- 从底层完全自定义实现的可选择文本组件 使用 RichText 渲染文本,TextPainter 计算选区几何, OverlayEntry 显示手柄和菜单,CompositedTransformFollower 跟踪位置
Enums
- DesktopTriggerMode
- 桌面端菜单触发方式 (鼠标按键) Menu trigger mode for desktop platforms (mouse button)
- MobileTriggerMode
- 移动端菜单触发方式 Menu trigger mode for mobile platforms
Typedefs
- ContextMenuContentBuilder = Widget Function(BuildContext context, VoidCallback hideMenu)
- ContextMenu内容的定义
- ContextMenuWidgetBuilder = Widget Function(BuildContext context, VoidCallback showMenu)
- ContextMenu包裹的组件的定义