AiPromptInput constructor
const
AiPromptInput({
- Key? key,
- required UseChatController controller,
- String hintText = 'Message',
- Future<
List< onPickAttachment()?,FilePart> > - VoidCallback? onVoice,
- VoidCallback? onLive,
- TextEditingController? textController,
- FocusNode? focusNode,
Creates a prompt input bound to controller.
Implementation
const AiPromptInput({
super.key,
required this.controller,
this.hintText = 'Message',
this.onPickAttachment,
this.onVoice,
this.onLive,
this.textController,
this.focusNode,
});