getMessageItemBuilder method
Widget
getMessageItemBuilder({
- Key? key,
- MessageItemBuilderWidgets? widgets,
- required MessageItemBuilderData data,
- required MessageItemBuilderMethods methods,
override
Implementation
@override
Widget getMessageItemBuilder({
Key? key,
MessageItemBuilderWidgets? widgets,
required MessageItemBuilderData data,
required MessageItemBuilderMethods methods,
}) {
Widget? widget;
if (_messageItemBuilder != null) {
widget = _messageItemBuilder!(
key: key,
widgets: widgets ??
MessageItemBuilderWidgets(
messageItemView: TencentCloudChatMessageItemBuilders.getMessageItemBuilder(
data: data,
methods: methods,
),
),
data: data,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageItemBuilders.getMessageItemBuilder(
data: data,
methods: methods,
);
}