ui/widgets/prompt_input library
Classes
- Attachment
- Attached file/image chip data.
- AttachmentChip
- Chip showing an attached file with remove button.
- AutocompleteOverlay
- Floating autocomplete suggestion list.
- InputToolbar
- Toolbar below input with model selector, counts, buttons.
- PromptInput
- Main chat input widget with rich editing features.
- Suggestion
- Single autocomplete suggestion.
Enums
- AttachmentType
- SuggestionType
- Type of autocomplete suggestion.
Typedefs
-
OnSubmit
= void Function(String text, List<
Attachment> attachments) - Callback typedefs.
-
OnSuggestionRequest
= Future<
List< Function(String query, SuggestionType type)Suggestion> >