AiChatView constructor
const
AiChatView({ - required AiChatController controller,
- void onSendMessage(
- String text
)?,
- String inputHint = 'Send a messageā¦',
- Color? userBubbleColor,
- Color? assistantBubbleColor,
- EdgeInsets padding = const EdgeInsets.all(12),
- ScrollController? scrollController,
- bool markdownAssistantResponses = false,
- PrismMarkdownStyle? markdownStyle,
- 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,
});