flutter_openim_widget library

Classes

ActionPane
An action pane.
ActionPaneData
Data of the ambient ActionPane accessible from its children.
AddFriendFailedCode
添加好友失败
AdvancedMessage
AtElem
@消息内容
AtSpecialTextSpanBuilder
AttachedInfoElem
附加信息
AtTextInputFormatter
AtUserInfo
@消息用户id跟昵称关系对象
BehindMotion
An ActionPane motion which reveals actions as if they were behind the Slidable.
BlacklistInfo
黑名单信息
BurnAfterReadingNotification
阅后即焚通知
CachedVideoControllerService
ChatAtText
ChatAvatarView
ChatBubble
ChatCarteView
ChatCustomEmojiView
ChatEmojiView
ChatFilePreview
ChatFileView
ChatInputBoxView
ChatItemView
chat item
ChatLinearProgressView
ChatLocationView
ChatLongPressMenu
ChatMergeMsgView
ChatMultiSelToolbox
ChatPicturePreview
ChatPictureView
ChatQuoteView
ChatRadio
ChatRecordVoiceView
ChatSendFailedView
ChatSendProgressView
ChatSingleLayout
ChatTextField
ChatToolsView
ChatVideoPlayerView
ChatVideoView
ChatVoiceRecordBar
ChatVoiceRecordLayout
ChatVoiceView
去掉语音播放功能
ChatWebViewMap
腾讯h5地图
CommonUtil
ConversationInfo
ConversationItemView
ConversationManager
ConversationType
会话类型
CopyCustomPopupMenu
CustomChatListView<T>
CustomElem
自定义消息
CustomPopupMenuController
CustomSignaling
CustomSlidableAction
Represents an action of an ActionPane.
DeptInfo
部门信息
DeptMemberAndSubDept
部门下的一级子部门跟员工
DeptMemberInfo
部门成员信息
DismissiblePane
A widget wich controls how a Slidable dismisses.
DrawerMotion
An ActionPane motion which reveals actions as if they were drawers.
EmojiLayout
EnterGroupNotification
进群通知
FaceElem
表情
FavoriteEmojiListView
FileElem
文件消息内容
FocusDetector
Fires callbacks every time the widget appears or disappears from the screen. Adapter to flutter 3.0
FriendApplicationInfo
好友申请信息
FriendInfo
好友信息
FriendshipInfo
关系
FriendshipManager
GroupApplicationInfo
群申请信息
GroupAtType
会话强提示内容
GroupHasReadInfo
群消息已读信息
GroupInfo
群信息
GroupInviteResult
GroupManager
GroupMemberInfoChangedNotification
群成员信息发送变化通知
GroupMemberRole
群成员角色
GroupMembersInfo
群成员信息
GroupNotification
群事件通知
GroupRightsTransferNoticication
群权转让通知
GroupRoleLevel
群成员角色
GroupType
组类型
GroupVerification
进群验证设置选项
ImageUtil
IMManager
IMPlatform
当前flutter平台仅支持Android/ios
InversedDrawerMotion
A DismissiblePane motion which will make the furthest action grows faster as the Slidable dismisses.
InvitationInfo
InvitedJoinGroupNotification
用户被邀请进群通知
KeyValue
////////////////// 消息修改相关///////////////////// /////////////////////////////////////////////////
KickedGroupMemeberNotification
组踢出成员通知
ListenerType
callback类型
LocationElem
位置消息内日
LongPressRippleAnimation
MatchPattern
MeetingInfo
MeetingInfoList
MeetingStreamEvent
MergeElem
合并消息体
Message
MessageFailedCode
消息发送失败
MessageKv
MessageManager
MessageStatus
消息发送状态
MessageType
消息类型
MessageTypeKeyMapping
MsgStreamEv<T>
MuteMemberNotification
禁言成员通知
NotificationElem
通知
OANotification
oa 通知
OfflinePushInfo
离线推送信息
OnAdvancedMsgListener
消息监听
OnConnectListener
SDK 连接状态监听
OnConversationListener
会话监听
OnCustomBusinessListener
OnFriendshipListener
好友关系监听
OnGroupListener
群组监听
OnListenerForService
好友关系监听
OnMessageKvInfoListener
OnMsgSendProgressListener
消息发送进度监听
OnOrganizationListener
组织架构监听
OnSignalingListener
信令监听
OnUserListener
当前用户资料监听
OnWorkMomentsListener
朋友圈监听
OpenIM
OrganizationManager
OrganizationSearchResult
搜索结果
Participant
PermissionUtil
PicInfo
PictureElem
图片消息内容
PictureInfo
图片信息
PopButton
PopMenuInfo
PublicUserInfo
公开的资料
QuitGroupNotification
退出群通知
QuoteElem
引用消息(被回复的消息)
ReadReceiptInfo
消息已读回执信息
ResizeRequest
A request made to resize a Slidable after a dismiss.
RevokedInfo
消息撤回具体信息
RichMessageInfo
RoomCallingInfo
ScrollMotion
An ActionPane motion which reveals actions as if they were scrolling from the outside.
SearchParams
SearchResult
SearchResultItems
SignalingCertificate
信令凭证
SignalingInfo
SignalingManager
SingleTypeKeyInfoSum
Slidable
A widget which can be dragged to reveal contextual actions.
SlidableAction
An action for Slidable which can show an icon, a label, or both.
SlidableAutoCloseBehavior
A widget that forces the Slidable widgets below it to close when another Slidable widget with the same groupTag opens.
SlidableAutoCloseNotification
A notification used to close other Slidable widgets with the same groupTag.
SlidableController
Represents a way to control a slidable from outside.
SlidableGroupBehavior<T>
A widget which can dispatch notifications to a group of Slidable below it.
SlidableGroupBehaviorListener<T>
A widget which listens to notifications dispatched by a SlidableGroupBehavior of the same type.
SlidableGroupNotification
Used to dispatch a Slidable notification.
SlidableGroupNotificationDispatcher<T>
A dispatcher used to dispatch a Slidable notification.
SlidableNotification
A Slidable notification that can bubble up the widget tree.
SlidableNotificationListener
A widget that listens for SlidableNotifications bubbling up the tree.
SlidableRatioNotification
A specific SlidableNotification which holds the current ratio value.
SlideItemInfo
SoundElem
语音消息内容
StretchMotion
An ActionPane motion which reveals actions by stretching their extent while sliding the Slidable.
TimingView
TitleBar
ToolsItem
ToolsLayoutParams
TypeKeySetResult
UILocalizations
UnreadCountView
UserExInfo
UserInDept
用户所在的部门
UserInfo
Is a friend not in the blacklist 是好友不在黑名单 Not a friend on the blacklist 不是好友在黑名单 Not a friend is not on the blacklist 不是好友不在黑名单
UserManager
Utils
VideoControllerService
VideoElem
视频消息内容
VoiceRecord
WorkMomentsInfo
WorkMomentsManager

Enums

ActionPaneType
The different kinds of action panes.
BubbleType
ChatTextModel
message content: @uid1 @uid2 xxxxxxx
PatternType
PreferredPosition
PressType

Extensions

SubjectExt on Subject<T>
TextEdCtrlExt on TextEditingController
解决当输入框内容全为字母且长度超过63不能继续输入的bug

Constants

emojiFaces → const Map<String, String>
regexAt → const String
空格@uid空格
regexEmail → const String
Email Regex - A predefined type for handling email matching
regexMobile → const String
Phone Regex - A predefined type for handling phone matching Regex of exact mobile.
regexTel → const String
Regex of telephone number.
regexUrl → const String
URL Regex - A predefined type for handling URL matching

Properties

deleteColors List<Color>
final
haveReadColors List<Color>
final
imCachePath String
getter/setter pair
indexAvatarList List<String>
no setter
kVoiceRecordBarHeight double
getter/setter pair
pinColors List<Color>
final

Typedefs

AtTextCallback = dynamic Function(String showText, String actualText)
ConfirmDismissCallback = Future<bool> Function()
Signature used by DismissiblePane to give the application an opportunity to confirm or veto a dismiss gesture.
CustomAvatarBuilder = Widget? Function()
CustomItemBuilder = Widget? Function(BuildContext context, int index, Message message)
CustomMessageBuilder = Widget? Function(BuildContext context, bool isReceivedMsg, int index, Message message, Map<String, String> allAtMap, double textScaleFactor, List<MatchPattern> patterns, Subject<MsgStreamEv<int>> msgSendProgressSubject, Subject<int> clickSubject)
MessageType.custom
IndexedToolsBuilder = Widget Function(BuildContext context, int index, ToolsItem item)
ItemVisibilityChange = void Function(BuildContext context, int index, Message message, bool visible)
RecordFc = dynamic Function(int sec, String path)
SlidableActionCallback = void Function(BuildContext context)
Signature for CustomSlidableAction.onPressed.
SpeakViewChildBuilder = Widget Function(ChatVoiceRecordBar recordBar)