flutter_openim_widget library Null safety
Classes
- ActionPane
- An action pane.
- ActionPaneData
- Data of the ambient ActionPane accessible from its children.
- AtElem
- AtSpecialTextSpanBuilder
- AttachedInfoElem
- AtTextInputFormatter
- AtUserInfo
- BehindMotion
- An ActionPane motion which reveals actions as if they were behind the Slidable.
- BlacklistInfo
- BurnAfterReadingNotification
- Burn after reading notification 阅后即焚通知
- 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
- 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.
- EnterGroupNotification
- Enter group notification 进群通知
- 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
- Group member info changed notification 禁言成员通知
- GroupMemberRole
- GroupMembersInfo
- GroupNotification
- Group common notification
- GroupRightsTransferNoticication
- Group rights transfer noticication 群权转让通知
- GroupRoleLevel
- 1 ordinary member, 2 group owners, 3 administrators 1普通成员, 2群主,3管理员
- ImageUtil
- IMManager
- IMPlatform
- InversedDrawerMotion
- A DismissiblePane motion which will make the furthest action grows faster as the Slidable dismisses.
- InvitationInfo
- InvitedJoinGroupNotification
- User is invited to the group notification 用户被邀请进群通知
- KickedGroupMemeberNotification
- Group kicked member notification 组踢出成员通知
- ListenerType
- LocationElem
- LongPressRippleAnimation
- MatchPattern
- MenuInfo
- MenuStyle
- MergeElem
- Message
- MessageManager
- MessageStatus
- MessageType
-
MsgStreamEv<
T> - MuteMemberNotification
- Mute member notification 禁言成员通知
- NotificationElem
- OANotification
- OA notification oa 通知
- OfflinePushInfo
- OnAdvancedMsgListener
- OnConnectListener
- OnConversationListener
- OnFriendshipListener
- OnGroupListener
- OnMsgSendProgressListener
- OnOrganizationListener
- OnSignalingListener
- OnUserListener
- OnWorkMomentsListener
- OpenIM
- OrganizationManager
- OrganizationSearchResult
- PermissionUtil
- PicInfo
- PictureElem
- PictureInfo
- PopButton
- PopMenuInfo
- PublicUserInfo
- QuitGroupNotification
- Exit group notification 退出群通知
- QuoteElem
- ReadReceiptInfo
- ResizeRequest
- A request made to resize a Slidable after a dismiss.
- ScrollMotion
- An ActionPane motion which reveals actions as if they were scrolling from the outside.
- SearchResult
- SearchResultItems
- SignalingCertificate
- SignalingInfo
- SignalingManager
- 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
- UILocalizations
- UnreadCountView
- 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
- VideoElem
- VoiceRecord
- WorkMomentsInfo
- WorkMomentsManager
Extensions
- SubjectExt
- TextEdCtrlExt
- 解决当输入框内容全为字母且长度超过63不能继续输入的bug
Constants
-
emojiFaces
→ const Map<
String, String> -
<String, String>{'[亲亲]' : 'ic_face_01', '[看穿]' : 'ic_face_02', '[色]' : 'ic_face_03', '[吓哭]' : 'ic_face_04', '[笑脸]' : '…
- regexAt → const String
-
空格@uid空格
r"(\s@\S+\s)"
- regexEmail → const String
-
Email Regex - A predefined type for handling email matching
r"\b[\w\.-]+@[\w\.-]+\.\w{2,4}\b"
- regexMobile → const String
-
Phone Regex - A predefined type for handling phone matching
Regex of exact mobile.
'^(\\+?86)?((13[0-9])|(14[57])|(15[0-35-9])|(16[2567])|(17[01235-8])|(18[0-9])|(19[1589]))\\d{8}\$'
- regexTel → const String
-
Regex of telephone number.
'^0\\d{2,3}[-]?\\d{7,8}'
- regexUrl → const String
-
URL Regex - A predefined type for handling URL matching
r"[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:._\+-~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:_\+.~#?&\/\/=]*)"
Properties
-
deleteColors
→ List<
Color> -
final
-
haveReadColors
→ List<
Color> -
final
- imCachePath ↔ String
-
read / write
-
indexAvatarList
→ List<
String> -
read-only
- kVoiceRecordBarHeight ↔ double
-
read / write
-
pinColors
→ List<
Color> -
final
Enums
- ActionPaneType
- The different kinds of action panes.
- BubbleType
- ChatTextModel
- message content: @uid1 @uid2 xxxxxxx
- PatternType
- PreferredPosition
- PressType
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< msgSendProgressSubject, Subject<int> >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)