PrismPromptComposer constructor
- Key? key,
- required ValueChanged<
String> onSend, - List<
String> suggestions = const [], - bool busy = false,
- String hint = 'Ask anything…',
- String sendTooltip = 'Send message',
- int maxLines = 5,
- TextEditingController? controller,
- ValueChanged<
String> ? onSuggestionTap,
Creates a prompt composer.
Implementation
const PrismPromptComposer({
super.key,
required this.onSend,
this.suggestions = const [],
this.busy = false,
this.hint = 'Ask anything…',
this.sendTooltip = 'Send message',
this.maxLines = 5,
this.controller,
this.onSuggestionTap,
});