getMessageDynamicButtonBuilder method
Widget
getMessageDynamicButtonBuilder({
- Key? key,
- MessageDynamicButtonBuilderWidgets? widgets,
- required MessageDynamicButtonBuilderData data,
- required MessageDynamicButtonBuilderMethods methods,
override
Implementation
@override
Widget getMessageDynamicButtonBuilder({
Key? key,
MessageDynamicButtonBuilderWidgets? widgets,
required MessageDynamicButtonBuilderData data,
required MessageDynamicButtonBuilderMethods methods,
}) {
Widget? widget;
if (_messageDynamicButtonBuilder != null) {
widget = _messageDynamicButtonBuilder!(
key: key,
widgets: widgets ??
MessageDynamicButtonBuilderWidgets(
messageDynamicButtonView: TencentCloudChatMessageListViewDynamicButton(
data: data,
methods: methods,
),
),
data: data,
methods: methods,
);
}
return widget ??
TencentCloudChatMessageListViewDynamicButton(
key: key,
data: data,
methods: methods,
);
}