buildInputField method
Builds the input field widget for the chat.
Uses the custom input field if provided, otherwise returns the default ChatInputField.
Implementation
Widget buildInputField(BuildContext context, ChatController controller) {
return customInputField?.call(context, controller) ??
const ChatInputField();
}