getMessageLayoutBuilder method
Widget
getMessageLayoutBuilder({
- Key? key,
- required MessageLayoutBuilderWidgets widgets,
- required MessageLayoutBuilderData data,
- required MessageLayoutBuilderMethods methods,
override
Implementation
@override
Widget getMessageLayoutBuilder({
Key? key,
required MessageLayoutBuilderWidgets widgets,
required MessageLayoutBuilderData data,
required MessageLayoutBuilderMethods methods,
}) {
Widget? widget;
if (_messageLayoutBuilder != null) {
widget = _messageLayoutBuilder!(
key: key,
data: data,
widgets: widgets,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageLayout(
key: key,
data: data,
widgets: widgets,
methods: methods,
);
}