getMessageInputSelectBuilder method

  1. @override
Widget getMessageInputSelectBuilder({
  1. Key? key,
  2. MessageInputSelectBuilderWidgets? widgets,
  3. required MessageInputSelectBuilderData data,
  4. required MessageInputSelectBuilderMethods methods,
})
override

Implementation

@override
Widget getMessageInputSelectBuilder({
  Key? key,
  MessageInputSelectBuilderWidgets? widgets,
  required MessageInputSelectBuilderData data,
  required MessageInputSelectBuilderMethods methods,
}) {
  Widget? widget;

  if (_messageInputSelectBuilder != null) {
    widget = _messageInputSelectBuilder!(
      key: key,
      widgets: widgets ??
          MessageInputSelectBuilderWidgets(
            messageInputSelectView: TencentCloudChatMessageInputSelectMode(
              data: data,
              methods: methods,
            ),
          ),
      data: data,
      methods: methods,
    );
  }

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