getMessageReplyViewBuilder method

Widget getMessageReplyViewBuilder({
  1. Key? key,
  2. MessageReplyViewBuilderWidgets? widgets,
  3. required MessageReplyViewBuilderData data,
  4. required MessageReplyViewBuilderMethods methods,
})

Implementation

Widget getMessageReplyViewBuilder({
  Key? key,
  MessageReplyViewBuilderWidgets? widgets,
  required MessageReplyViewBuilderData data,
  required MessageReplyViewBuilderMethods methods,
}) {
  Widget? widget;

  if (_messageReplyViewBuilder != null) {
    widget = _messageReplyViewBuilder!(
      key: key,
      widgets: widgets ??
          MessageReplyViewBuilderWidgets(
            messageReplyView: TencentCloudChatMessageReplyView(
              data: data,
              methods: methods,
            ),
          ),
      data: data,
      methods: methods,
    );
  }

  return widget ??
      TencentCloudChatMessageReplyView(
        key: key,
        data: data,
        methods: methods,
      );
}