getMessageInputReplyBuilder method

  1. @override
Widget getMessageInputReplyBuilder({
  1. Key? key,
  2. MessageInputReplyBuilderWidgets? widgets,
  3. required MessageInputReplyBuilderData data,
  4. required MessageInputReplyBuilderMethods methods,
})
override

Implementation

@override
Widget getMessageInputReplyBuilder({
  Key? key,
  MessageInputReplyBuilderWidgets? widgets,
  required MessageInputReplyBuilderData data,
  required MessageInputReplyBuilderMethods methods,
}) {
  Widget? widget;

  if (_messageInputReplyBuilder != null) {
    widget = _messageInputReplyBuilder!(
      key: key,
      widgets: widgets ??
          MessageInputReplyBuilderWidgets(
              messageInputReplyView: TencentCloudChatMessageInputReply(
            key: key,
            widgets: widgets,
            data: data,
            methods: methods,
          )),
      data: data,
      methods: methods,
    );
  }

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