getMessageRowMessageSenderAvatarBuilder method
Widget
getMessageRowMessageSenderAvatarBuilder({
- Key? key,
- MessageRowMessageSenderAvatarBuilderWidgets? widgets,
- required MessageRowMessageSenderAvatarBuilderData data,
- required MessageRowMessageSenderAvatarBuilderMethods methods,
override
Implementation
@override
Widget getMessageRowMessageSenderAvatarBuilder({
Key? key,
MessageRowMessageSenderAvatarBuilderWidgets? widgets,
required MessageRowMessageSenderAvatarBuilderData data,
required MessageRowMessageSenderAvatarBuilderMethods methods,
}) {
Widget? widget;
if (_messageRowMessageSenderAvatarBuilder != null) {
widget = _messageRowMessageSenderAvatarBuilder!(
key: key,
widgets: widgets ??
MessageRowMessageSenderAvatarBuilderWidgets(
messageRowMessageSenderAvatarView: TencentCloudChatMessageRowMessageSenderAvatar(
data: data,
methods: methods,
),
),
data: data,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageRowMessageSenderAvatar(
key: key,
data: data,
methods: methods,
);
}