AiChatView constructor

const AiChatView({
  1. required AiChatController controller,
  2. void onSendMessage(
    1. String text
    )?,
  3. String inputHint = 'Send a message…',
  4. Color? userBubbleColor,
  5. Color? assistantBubbleColor,
  6. EdgeInsets padding = const EdgeInsets.all(12),
  7. ScrollController? scrollController,
  8. bool markdownAssistantResponses = false,
  9. PrismMarkdownStyle? markdownStyle,
  10. Key? key,
})

Implementation

const AiChatView({
  required this.controller,
  this.onSendMessage,
  this.inputHint = 'Send a message…',
  this.userBubbleColor,
  this.assistantBubbleColor,
  this.padding = const EdgeInsets.all(12),
  this.scrollController,
  this.markdownAssistantResponses = false,
  this.markdownStyle,
  super.key,
});