ChatMessageListConfig constructor
const
ChatMessageListConfig({
- double? textBubbleCornerRadius,
- String? alignment,
- bool? isShowTimeMessage,
- bool? isShowLeftAvatar,
- bool? isShowLeftNickname,
- bool? isShowRightAvatar,
- bool? isShowRightNickname,
- bool? isShowTimeInBubble,
- double? cellSpacing,
- bool? isShowSystemMessage,
- bool? isShowUnsupportMessage,
- bool? isSupportCopy,
- bool? isSupportDelete,
- bool? isSupportRecall,
- double? horizontalPadding,
- double? avatarSpacing,
Implementation
const ChatMessageListConfig({
double? textBubbleCornerRadius,
String? alignment,
bool? isShowTimeMessage,
bool? isShowLeftAvatar,
bool? isShowLeftNickname,
bool? isShowRightAvatar,
bool? isShowRightNickname,
bool? isShowTimeInBubble,
double? cellSpacing,
bool? isShowSystemMessage,
bool? isShowUnsupportMessage,
bool? isSupportCopy,
bool? isSupportDelete,
bool? isSupportRecall,
double? horizontalPadding,
double? avatarSpacing,
}) : _userTextBubbleCornerRadius = textBubbleCornerRadius,
_userAlignment = alignment,
_userIsShowTimeMessage = isShowTimeMessage,
_userIsShowLeftAvatar = isShowLeftAvatar,
_userIsShowLeftNickname = isShowLeftNickname,
_userIsShowRightAvatar = isShowRightAvatar,
_userIsShowRightNickname = isShowRightNickname,
_userIsShowTimeInBubble = isShowTimeInBubble,
_userCellSpacing = cellSpacing,
_userIsShowSystemMessage = isShowSystemMessage,
_userIsShowUnsupportMessage = isShowUnsupportMessage,
_userIsSupportCopy = isSupportCopy,
_userIsSupportDelete = isSupportDelete,
_userIsSupportRecall = isSupportRecall,
_userHorizontalPadding = horizontalPadding,
_userAvatarSpacing = avatarSpacing;