getMessageItemMenuBuilder method
Widget
getMessageItemMenuBuilder({
- Key? key,
- MessageItemMenuBuilderWidgets? widgets,
- required MessageItemMenuBuilderData data,
- required MessageItemMenuBuilderMethods methods,
Implementation
Widget getMessageItemMenuBuilder({
Key? key,
MessageItemMenuBuilderWidgets? widgets,
required MessageItemMenuBuilderData data,
required MessageItemMenuBuilderMethods methods,
}) {
Widget? widget;
if (_messageItemMenuBuilder != null) {
widget = _messageItemMenuBuilder!(
key: key,
widgets: widgets ??
MessageItemMenuBuilderWidgets(
messageItemMenuView: TencentCloudChatMessageItemWithMenu(
data: data,
methods: methods,
),
),
data: data,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageItemWithMenu(
key: key,
data: data,
methods: methods,
);
}