getMessageHeader method
Widget
getMessageHeader({
- Key? key,
- required MessageHeaderBuilderWidgets widgets,
- required MessageHeaderBuilderData data,
- required MessageHeaderBuilderMethods methods,
override
Implementation
@override
Widget getMessageHeader({
Key? key,
required MessageHeaderBuilderWidgets widgets,
required MessageHeaderBuilderData data,
required MessageHeaderBuilderMethods methods,
}) {
Widget? widget;
if (_messageHeaderBuilder != null) {
widget = _messageHeaderBuilder!(
key: key,
widgets: widgets,
data: data,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageHeader(
key: key,
widgets: widgets,
data: data,
methods: methods,
);
}