getAttachmentOptionsBuilder method
Widget
getAttachmentOptionsBuilder({
- Key? key,
- MessageAttachmentOptionsBuilderWidgets? widgets,
- required MessageAttachmentOptionsBuilderData data,
- required MessageAttachmentOptionsBuilderMethods methods,
override
Implementation
@override
Widget getAttachmentOptionsBuilder({
Key? key,
MessageAttachmentOptionsBuilderWidgets? widgets,
required MessageAttachmentOptionsBuilderData data,
required MessageAttachmentOptionsBuilderMethods methods,
}) {
Widget? widget;
if (_messageAttachmentOptionsBuilder != null) {
widget = _messageAttachmentOptionsBuilder!(
key: key,
methods: methods,
data: data,
widgets: widgets ??
MessageAttachmentOptionsBuilderWidgets(
messageAttachmentOptionsView: TencentCloudChatMessageAttachmentOptionsWidget(
methods: methods,
data: data,
),
),
);
}
return widget ??
TencentCloudChatMessageAttachmentOptionsWidget(
key: key,
methods: methods,
data: data,
);
}