ui/components/prompt_input library

Functions

emptyClipboardImage() → Future<PromptAttachment?>
No app-specific native channel is required to embed the composer.
readDroppedImageAttachment(PromptAttachment attachment) → Future<PromptAttachment?>

Typedefs

PromptAttachmentKindPicker = Future<List<PromptAttachment>> Function(PromptAttachmentKind kind)
PromptAttachmentPicker = Future<List<PromptAttachment>> Function()
PromptDroppedImageReader = Future<PromptAttachment?> Function(PromptAttachment attachment)
PromptImageClipboardReader = Future<PromptAttachment?> Function()
PromptSendCallback = void Function(String text, List<PromptAttachment> attachments)
SessionConfigSelectionCallback = void Function(String configId, Object value)